Commit Graph

873 Commits

Author SHA1 Message Date
hyunghwan.chung
db0ea4615e fixed wrong conditionals in moo-utl.h 2019-03-07 12:53:23 +00:00
hyunghwan.chung
e93da317e3 touched up hash macros and functions 2019-03-06 01:58:51 +00:00
hyunghwan.chung
ec5f881951 fixed indentataion 2019-03-05 06:40:01 +00:00
hyunghwan.chung
5737422376 changed moo_hash_bytes() to use fnv-1 hash 2019-03-01 09:13:34 +00:00
hyunghwan.chung
c9e2a9c68f switched the default hash function to sdbm hash 2019-03-01 07:50:06 +00:00
hyunghwan.chung
438eed3792 reversed '__asm__ volat' to '__asm__ volatile' 2019-02-25 06:30:14 +00:00
hyunghwan.chung
c875e41ce6 extended Collection with asSet 2019-02-21 08:23:43 +00:00
hyunghwan.chung
04e28e979a extended Collection with asOrderedCollection 2019-02-21 03:49:31 +00:00
hyunghwan.chung
fdda5c94f3 fixed an assertion bug in binint division when divisor is greater than dividend 2019-02-20 17:40:34 +00:00
hyunghwan.chung
1b45243b34 minor code touch-up only 2019-02-20 09:43:59 +00:00
hyunghwan.chung
313077f70f added moo_copyoochartosbuf()
changed string_to_fpdec to use sbuf
2019-02-20 09:08:10 +00:00
hyunghwan.chung
fe6c693b86 compacted duplicate code into inline functions 2019-02-19 14:19:31 +00:00
hyunghwan.chung
4a6428445b attempted to improve performance of moo_truncfpdec() and moo_truncfpdecval() but the changes made don't seem to improve performance 2019-02-19 13:59:19 +00:00
hyunghwan.chung
26dae2508d added a line of comment to get_numlit() 2019-02-19 05:05:47 +00:00
hyunghwan.chung
4301066c76 fixed a bug in string_to_fpdec().
supports the plus sign before a numeric literal
2019-02-19 05:02:37 +00:00
hyunghwan.chung
d384801eec added moo_fill_uchars()/moo_fill_bchars()
implemented the new fixed-point decimal prescale notation like 9p10.1 to indicate 10.100000000
2019-02-18 17:13:33 +00:00
hyunghwan.chung
0805ecc76b added doWithIndex:. from:to:do: from:to:doWithIndex: to SequenceableCollection
added scale and scale: to Integer and FixedPointDecimal
added moo_truncfpdec()
2019-02-18 08:57:59 +00:00
hyunghwan.chung
e1ec7a7f38 fixed a bug in at: and at:put: of OrderedCollection 2019-02-16 18:21:39 +00:00
hyunghwan.chung
c0cf2b0368 added a comment into icc.mak 2019-02-11 06:19:29 +00:00
hyunghwan.chung
98451c9b9f meaningless commit for data migration 2019-02-01 16:26:00 +00:00
hyunghwan.chung
0d0d22017c meaningless commit for data migration 2019-02-01 16:23:21 +00:00
hyunghwan.chung
1ff172097c fixed a bug of not honoring precision specified with %.* in computing string length given for 's' and 'S' 2019-01-31 09:16:52 +00:00
hyunghwan.chung
20eb34302a fixed a string in err.c 2019-01-30 10:18:25 +00:00
hyunghwan.chung
fcdd6981b9 added comments to error codes 2019-01-30 10:17:31 +00:00
hyunghwan.chung
0017564a69 set the default log type if not set 2019-01-28 17:42:04 +00:00
hyunghwan.chung
c13fe9b769 removed an irrelevant comment 2019-01-28 08:12:47 +00:00
hyunghwan.chung
623f97e2f9 removed unneeded code 2019-01-26 16:45:23 +00:00
hyunghwan.chung
c3705dd340 renamed logfmtv to fmtoutv and made related changes 2019-01-25 07:49:01 +00:00
hyunghwan.chung
365518f7c3 minor fixes 2019-01-24 07:43:50 +00:00
hyunghwan.chung
5101228c39 Added pf_number_mlt() whcih scales to the smaller of the two fixed-point numbers 2019-01-10 15:28:37 +00:00
hyunghwan.chung
9cd0b28933 change the behavior of pf_number_div upon divide by zero 2019-01-10 15:22:43 +00:00
hyunghwan.chung
7d3d21b3cf added moo_numtostr() 2019-01-10 10:01:50 +00:00
hyunghwan.chung
cd4d34c724 added some number primitives 2019-01-10 07:00:17 +00:00
hyunghwan.chung
05a3c4eefd changed the dump format of large integers and fixed-point decimals 2019-01-10 06:26:32 +00:00
hyunghwan.chung
c62a0ce3c5 changed some numeric primitives to support fpdec 2019-01-09 16:07:27 +00:00
hyunghwan.chung
29f7058ebf added MOO_IOTOK_FPDECLIT and some handling code 2019-01-09 09:55:27 +00:00
hyunghwan.chung
661f36c17c attempint to add fpdec parsing elements 2019-01-08 10:05:27 +00:00
hyunghwan.chung
77fee95759 added two test cases 2019-01-04 16:01:55 +00:00
hyunghwan.chung
1463621bdb added some function prototypes 2019-01-01 06:44:28 +00:00
hyunghwan.chung
25e2c070cf more use of MOO_STORE_OOP() 2018-12-31 16:47:54 +00:00
hyunghwan.chung
5dd67859d7 change the ngc bit to the proc bit to determine the process object.
added temporary work around the faulty gc
2018-12-29 15:16:58 +00:00
hyunghwan.chung
fc3a725bb8 renamed moo_pushtmp()/poptmp()/poptmps() to moo_pushvolat()/popvolat()/popvolats() 2018-12-28 08:29:27 +00:00
hyunghwan.chung
53c0783da8 fixed a gc bug in bigint.c 2018-12-27 15:46:19 +00:00
hyunghwan.chung
83cfbb0b30 interim commit without many changes 2018-12-26 10:32:31 +00:00
hyunghwan.chung
3c881ebe0c removed xtn->log.mask and set log mask using moo_setoption() 2018-12-26 08:29:20 +00:00
hyunghwan.chung
63371a52d5 used more macros for object slot access.
found a gc bug that have yet to be debugged
2018-12-25 16:00:47 +00:00
hyunghwan.chung
e97ca41d8c more use of MOO_STORE_OOP 2018-12-23 16:54:17 +00:00
hyunghwan.chung
3e623c6677 added more test cases 2018-12-23 16:44:47 +00:00
hyunghwan.chung
9e91e32c75 made div-by-zero a soft failure in pf_integer_div 2018-12-23 16:43:19 +00:00
hyunghwan.chung
b13892d586 substitute more macros for the slot field access.
simplified code by getting rid of SET_ACTIVE_METHOD_CODE() and making related changes
2018-12-23 08:33:52 +00:00