xo-numeric: cosmetic: add comments to label essential primitives
This commit is contained in:
parent
f4d00d9e17
commit
335c04a834
1 changed files with 10 additions and 0 deletions
|
|
@ -103,42 +103,52 @@ namespace xo {
|
||||||
|
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
|
|
||||||
|
/* "_mul" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_multiply_pm(mm, stbl),
|
NumericPrimitives::make_multiply_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_div" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_divide_pm(mm, stbl),
|
NumericPrimitives::make_divide_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_add" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_add_pm(mm, stbl),
|
NumericPrimitives::make_add_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_sub" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_subtract_pm(mm, stbl),
|
NumericPrimitives::make_subtract_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_cmpeq" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_cmpeq_pm(mm, stbl),
|
NumericPrimitives::make_cmpeq_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_cmpne" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_cmpne_pm(mm, stbl),
|
NumericPrimitives::make_cmpne_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_cmplt" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_cmplt_pm(mm, stbl),
|
NumericPrimitives::make_cmplt_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_cmple" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_cmple_pm(mm, stbl),
|
NumericPrimitives::make_cmple_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_cmpgt" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_cmpgt_pm(mm, stbl),
|
NumericPrimitives::make_cmpgt_pm(mm, stbl),
|
||||||
flags & InstallFlags::f_essential));
|
flags & InstallFlags::f_essential));
|
||||||
|
/* "_cmpge" */
|
||||||
ok = ok & (PrimitiveRegistry::install_aux
|
ok = ok & (PrimitiveRegistry::install_aux
|
||||||
(sink,
|
(sink,
|
||||||
NumericPrimitives::make_cmpge_pm(mm, stbl),
|
NumericPrimitives::make_cmpge_pm(mm, stbl),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue