Commit Graph

13 Commits

Author SHA1 Message Date
6e5a92a041 refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
1fa0d684bc corrected a minor coding flaw in number.c 2019-01-09 16:00:54 +00:00
726b8026b3 added the abs primitive function 2018-04-07 02:28:38 +00:00
46dc1968ad implemented sqrt for fixed-point decimal.
fixed a bug in getting sqrt of a negative number
2018-04-04 04:41:23 +00:00
d5097b998a added partial sqrt function 2018-04-03 14:02:40 +00:00
d4460c1b7c fixed a bug and a wrong assertion in mul_nums() 2018-04-02 12:59:37 +00:00
0d350e9707 added hcl_mltnums() which scales the result according to the first parameter 2018-04-02 12:52:10 +00:00
dd73887115 added hcl_genums(), hcl_gtnums(), hcl_lenums(), hcl_ltnums(), hcl_eqnums(), hcl_nenums() 2018-04-02 12:28:09 +00:00
6ed4d2e705 added hcl_truncfpdevcal().
fixed bugs in sprintf
2018-04-01 17:09:07 +00:00
8df5087b9d enhanced the multiplication function to truncate the resulting fixed-point decimal to the equal precision to the operands 2018-03-30 18:11:11 +00:00
e466c6b68a disallowed fixed point decimal literal with no digit after the point.
fixed a bug in hcl_divnums
2018-03-30 17:37:40 +00:00
2253d09a18 implemented basic arithmetic operations for fixed-point decimals 2018-03-30 15:43:09 +00:00
116512ae9d started adding fpdec calculation functions 2018-03-28 16:40:42 +00:00