Commit Graph

1144 Commits

Author SHA1 Message Date
hyunghwan.chung
f28bd84c50 removed some deprecated code from bigint.c
fixed a bigint division bug when MOO_USE_FULL_WORD is undefined
2019-04-01 08:45:21 +00:00
hyunghwan.chung
8ce908262a enhanced moo_divints() 2019-03-30 13:43:10 +00:00
hyunghwan.chung
0480cba4ad experimental code for bigint divided by smooi 2019-03-30 05:22:35 +00:00
hyunghwan.chung
8a7d5a4c2c nothing meaningful 2019-03-29 17:44:32 +00:00
hyunghwan.chung
608bbb4a91 speeded up moo_inttostr() 2019-03-29 17:16:03 +00:00
hyunghwan.chung
93f6847034 added experimental code for faster number to string conversion 2019-03-29 07:05:53 +00:00
hyunghwan.chung
374d3682d2 another minor change on win32 code 2019-03-29 00:04:29 +00:00
hyunghwan.chung
9dacaefd49 minor changes on win32 code 2019-03-28 23:52:56 +00:00
hyunghwan.chung
fc6e24edad fixed a bug of variable initialzation skipped when a jump is made to fixed_point 2019-03-28 05:16:13 +00:00
hyunghwan.chung
4f1ad1fe64 added a few more test cases 2019-03-25 13:00:15 +00:00
hyunghwan.chung
a111a5aba9 restored some preprocessor conditionals 2019-03-25 11:46:12 +00:00
hyunghwan.chung
45b21a004b optimized the bigint division a bit more 2019-03-25 11:41:26 +00:00
hyunghwan.chung
983026c774 optimized the division a bit
removed moo_log2_for_pow2() and created similar macros local to bigint.c
2019-03-24 18:49:16 +00:00
hyunghwan.chung
f126013747 added moo_log2_for_pow2() 2019-03-23 04:47:47 +00:00
hyunghwan.chung
78970f370f minor code change. nothing meaningful 2019-03-22 08:06:14 +00:00
hyunghwan.chung
99e94bec93 changed PUT_BYTE_IN_HEX() 2019-03-19 13:58:33 +00:00
hyunghwan.chung
ffa6a4e26a renamed inconsistent function names 2019-03-19 13:29:49 +00:00
hyunghwan.chung
93ffbc0d55 changed the way to put byte in hex 2019-03-19 07:52:09 +00:00
hyunghwan.chung
064de1b580 removed unneeded variables from fmtoutv.h 2019-03-18 15:37:45 +00:00
hyunghwan.chung
c52d70f2da implemented w/W for formatted output 2019-03-18 15:16:15 +00:00
hyunghwan.chung
9c32a87df3 added moo_byte_to_bcstr()
implemented 'k' && 'K' for formatted output
2019-03-17 18:59:01 +00:00
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