Commit Graph

31 Commits

Author SHA1 Message Date
11e831bbcc switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
966888844b fixed an object protection mistake in hcl_divints() 2020-10-25 05:51:44 +00:00
d53151a080 added hcl_inttouintmax()/hcl_inttointmax()/hcl_uintmaxtoint()/hcl_intmaxtoint() 2019-08-13 07:15:12 +00:00
6e5a92a041 refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
2d9f5b51ad added sys.time, sys.random, sys.srandom.
removed test-bi.sh
wrote a simple bigint test program into test-bi.hcl
2019-04-17 03:46:39 +00:00
9045220ef8 changed hcl_inttostr()
touched up log output and formatted output functions
2019-04-16 15:46:00 +00:00
7f7a2685d0 synchronized the bigint functions with moo 2019-04-16 09:06:30 +00:00
b14668d3d5 optimized bigint division a bit 2019-03-25 13:01:05 +00:00
2b14218a43 fixed a bug in bigint division 2019-02-20 17:38:56 +00:00
de44f7e57c changed hcl_mulints() a little bit 2018-12-28 08:09:01 +00:00
c447bde889 fixed a gc bug in bigint.c 2018-12-27 15:46:31 +00:00
985ec11cae fixed wrong capacity computation for hcl->inttostr.t and hcl->inttostr.xbuf in bigint.c 2018-12-20 14:12:36 +00:00
54015185ab added many type checking predicates 2018-04-07 04:43:56 +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
67c16596a8 added error messages in more places of bigint.c 2018-04-03 08:11:56 +00:00
9500b97c69 fixed a sign check bug in bigint.c 2018-04-03 07:49:46 +00:00
dd73887115 added hcl_genums(), hcl_gtnums(), hcl_lenums(), hcl_ltnums(), hcl_eqnums(), hcl_nenums() 2018-04-02 12:28:09 +00:00
09302470f7 enhanced hcl_inttostr() to accept a negative radix to produce lower-case alphabetic digits 2018-02-28 15:57:19 +00:00
ef51ee4a1d enhanced the logfmtv to handle encoding conversion of the format string 2018-02-26 15:24:45 +00:00
67a334bc26 deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
270a762e32 added some builtin modules, but without many functions in them 2018-02-15 15:36:15 +00:00
2a0551df2d enhanced hcl_inttostr() to keep results in the temporary buffer when ngc is negative.
changed the integer printing function to utilize this change in print.c
2018-02-15 08:05:48 +00:00
46a4bd1561 fixed to use hcl-wide temporary buffers when converting an integer to a string 2018-02-15 06:58:36 +00:00
f802bec44a integrated bigint
cleaned up code
2018-02-13 16:10:41 +00:00
eff0957fbb adjusted bigint code 2018-02-13 11:48:16 +00:00
e54096f2a0 changed copyright years 2018-02-07 14:13:13 +00:00
293222d5c5 trying to revive this project 2018-02-05 10:43:25 +00:00
66af1a8ea3 fixed a logfmt bug 2016-11-09 15:50:41 +00:00
94e690004d added initial hcl files 2016-09-28 14:40:37 +00:00