hyunghwan.chung
a9c48b75e6
introduced the Error class to represent an error code as an object.
...
rewrote STIX_ASSERT() to call stix_logbfmt() via stix_assertfailed()
2016-12-26 18:44:47 +00:00
hyunghwan.chung
bb45bdc480
implemented karatsuba multiplication.
...
added stix_lidi_t and stix_lii_t
2016-11-09 15:50:18 +00:00
hyunghwan.chung
117473f638
fixed a bug in stix_oowtoint()
...
fixed bugs of SemaphoreHeap
2016-03-16 10:13:03 +00:00
hyunghwan.chung
f32e58f4b3
fixed a compiler bug that omitted the RETURN_FROM_BLOCK instruction when an empty block is encountered.
...
added more code for supporting the process stack
2016-02-12 16:23:26 +00:00
hyunghwan.chung
c427f39a12
added stix_isint(), stix_inttooow(), stix_oowtoint().
...
added stix_eqints(), stix_neints(), stix_gtints(), stix_geints(), stix_ltints(), stix_leints().
enhanced some primitive handlers to support large integers
2015-12-27 18:02:59 +00:00
hyunghwan.chung
649a78472b
finished stix_bitatint()
2015-12-26 05:11:10 +00:00
hyunghwan.chung
60b90de172
filled stix_bitatint() a bit
2015-12-26 01:37:33 +00:00
hyunghwan.chung
27e0186d43
added stix_negateint()
2015-12-25 05:09:17 +00:00
hyunghwan.chung
1e7be310fc
added code to shift a large negative integer when STIX_LIMIT_OBJ_SIZE is not defined
2015-12-24 14:11:04 +00:00
hyunghwan.chung
2022ac965b
added some code to handle right-shift of a negative number
2015-12-23 15:25:29 +00:00
hyunghwan.chung
e7d00d89bf
implement right bit shift over a small integer
2015-12-22 15:50:01 +00:00
hyunghwan.chung
6fb206a265
touched up various size related definitions and code
2015-12-22 07:49:28 +00:00
hyunghwan.chung
af9b8cd32c
added more code to stix_bitshiftint()
2015-12-21 17:12:57 +00:00
hyunghwan.chung
5bf467cb29
enhanced stix_inttostr() to handle a power-of-2 radix more efficiently
2015-12-18 15:58:45 +00:00
hyunghwan.chung
95ceac9e85
fixed a type casting issue to work around the problem caused by an old C compiler(SCO) in bigint.c
2015-12-17 16:59:49 +00:00
hyunghwan.chung
23d8d17b08
added stix_bitinvint()
2015-12-17 16:37:26 +00:00
hyunghwan.chung
08cfa55acc
rewrote stix_bitandints(), stix_bitorints(), stix_bitxorints() to handle negative numbers in the 2's complement form
2015-12-17 16:11:10 +00:00
hyunghwan.chung
bf412e0c07
added stix_bitxorint()
2015-12-13 16:08:05 +00:00
hyunghwan.chung
887a03c05e
added stix_bitandints() and stix_bitorints()
2015-12-10 14:23:09 +00:00
hyunghwan.chung
9d88821c9b
finished stix_inttostr() primitively
2015-12-07 09:40:45 +00:00
hyunghwan.chung
f40b5fb0c1
added stix-mac.h and made related changes
2015-12-03 05:46:11 +00:00
hyunghwan.chung
6544340db4
fixed a bug of wrong short number conversion in stix_strtoint() when STIX_LIW_BITS == STIX_OOHW_BITS
2015-12-02 16:14:37 +00:00
hyunghwan.chung
2fbb4d3a71
added STIX_EPFULL
...
fixed a bug in starting an initial process
started writing an integer-to-string conversion function
2015-12-02 15:24:13 +00:00
hyunghwan.chung
283c3652db
fixed some bugs in stix_divints()
2015-12-01 12:13:40 +00:00
hyunghwan.chung
addd201beb
added the missing zero check in stix_divint()
2015-11-30 15:17:41 +00:00
hyunghwan.chung
a32e1903bf
added some code for bigint division
2015-11-30 14:29:57 +00:00
hyunghwan.chung
48efc4dbc8
added more comments to stix_divints()
2015-11-22 15:04:48 +00:00
hyunghwan.chung
fe8b6dfa24
enhanced stix_divints() to handle modulo/remainder more clearly
2015-11-22 14:48:09 +00:00
hyunghwan.chung
d8da07cb59
added some bigint code for division
2015-11-22 13:32:06 +00:00
hyunghwan.chung
f618154aaf
changed STIX_SMOOI_MIN to -STIX_SMOOI_MAX instead of (-STIX_SMOOI_MAX - 1)
...
fixed tally range check bugs in dic.c/sym.c/gc.c
simplificed some code resulting from STIX_SMOOI_MIN change.
2015-11-20 09:05:55 +00:00
hyunghwan.chung
5cebf7e8dc
changed atom_t to stix_liw_t and made related changes.
...
introduced #liword to the compiler
2015-11-17 14:13:59 +00:00
hyunghwan.chung
415921d4a7
fixed some problems in bigint multiplication
2015-11-16 09:53:31 +00:00
hyunghwan.chung
346131b3e3
added more code for bigint multiplication
2015-11-13 15:55:56 +00:00
hyunghwan.chung
b0f8561238
added more code for bigint.
...
changed SMINT to SMOOI and renamed relevant macros accordingly
2015-11-12 06:57:35 +00:00
hyunghwan.chung
7b28bba988
enhanced stix_mulints()
2015-11-11 14:46:00 +00:00
hyunghwan.chung
0daf143cce
Added stix_mulints()
2015-11-11 13:31:05 +00:00
hyunghwan.chung
e519c5078e
relocated bigint data table initialization to stix_init()
2015-11-10 14:29:32 +00:00
hyunghwan.chung
df3f521220
touched up stix_strtoint()
2015-11-09 14:26:58 +00:00
hyunghwan.chung
797fdc4c1f
added a few lines of code to stix_strtoint()
2015-11-09 02:00:43 +00:00
hyunghwan.chung
db2de5787d
added more code to stix_strtoint()
2015-11-04 17:32:28 +00:00
hyunghwan.chung
a033e2669b
added some code to calculate log2(x)
2015-11-03 14:58:19 +00:00
hyunghwan.chung
e061b94832
added some more bigint routines
2015-11-03 14:08:43 +00:00
hyunghwan.chung
730df12933
added lost files
2015-11-01 09:47:27 +00:00
hyunghwan.chung
d33ad3749a
Added stix_shallowcopy().
...
added some code for bigint operations
2015-10-30 15:36:37 +00:00
hyunghwan.chung
1094d298cb
added some bigint related code
2015-10-29 15:24:46 +00:00