Commit Graph

1032 Commits

Author SHA1 Message Date
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
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