added some number primitives

This commit is contained in:
hyunghwan.chung
2019-01-10 07:00:17 +00:00
parent 05a3c4eefd
commit cd4d34c724
4 changed files with 141 additions and 13 deletions

View File

@ -1405,7 +1405,8 @@ moo_oop_t moo_mltnums (
moo_oop_t moo_divnums (
moo_t* moo,
moo_oop_t x,
moo_oop_t y
moo_oop_t y,
int modulo
);
moo_oop_t moo_gtnums (
@ -1444,6 +1445,11 @@ moo_oop_t moo_nenums (
moo_oop_t y
);
moo_oop_t moo_negatenum (
moo_t* moo,
moo_oop_t x
);
moo_oop_t moo_sqrtnum (
moo_t* moo,
moo_oop_t x