added stix_isint(), stix_inttooow(), stix_oowtoint().
added stix_eqints(), stix_neints(), stix_gtints(), stix_geints(), stix_ltints(), stix_leints(). enhanced some primitive handlers to support large integers
This commit is contained in:
@ -1117,6 +1117,22 @@ int stix_utf8toucs (
|
||||
/* ========================================================================= */
|
||||
/* bigint.c */
|
||||
/* ========================================================================= */
|
||||
int stix_isint (
|
||||
stix_t* stix,
|
||||
stix_oop_t x
|
||||
);
|
||||
|
||||
int stix_inttooow (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
stix_oow_t* w
|
||||
);
|
||||
|
||||
stix_oop_t stix_oowtoint (
|
||||
stix_t* stix,
|
||||
stix_oow_t w
|
||||
);
|
||||
|
||||
stix_oop_t stix_addints (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
@ -1183,6 +1199,42 @@ stix_oop_t stix_bitshiftint (
|
||||
stix_oop_t y
|
||||
);
|
||||
|
||||
stix_oop_t stix_eqints (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
stix_oop_t y
|
||||
);
|
||||
|
||||
stix_oop_t stix_neints (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
stix_oop_t y
|
||||
);
|
||||
|
||||
stix_oop_t stix_gtints (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
stix_oop_t y
|
||||
);
|
||||
|
||||
stix_oop_t stix_geints (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
stix_oop_t y
|
||||
);
|
||||
|
||||
stix_oop_t stix_ltints (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
stix_oop_t y
|
||||
);
|
||||
|
||||
stix_oop_t stix_leints (
|
||||
stix_t* stix,
|
||||
stix_oop_t x,
|
||||
stix_oop_t y
|
||||
);
|
||||
|
||||
stix_oop_t stix_strtoint (
|
||||
stix_t* stix,
|
||||
const stix_ooch_t* str,
|
||||
|
Reference in New Issue
Block a user