implemented basic arithmetic operations for fixed-point decimals

This commit is contained in:
2018-03-30 15:43:09 +00:00
parent dae10ef59c
commit 2253d09a18
4 changed files with 259 additions and 62 deletions

View File

@ -977,6 +977,19 @@ hcl_oop_t hcl_subnums (
hcl_oop_t x,
hcl_oop_t y
);
hcl_oop_t hcl_mulnums (
hcl_t* hcl,
hcl_oop_t x,
hcl_oop_t y
);
hcl_oop_t hcl_divnums (
hcl_t* hcl,
hcl_oop_t x,
hcl_oop_t y
);
/* ========================================================================= */
/* comp.c */
/* ========================================================================= */