Commit graph

719 commits

Author SHA1 Message Date
Justin Ethier
ea24b00361 Export int2bignum 2017-02-17 17:02:04 +00:00
Justin Ethier
80290db8d5 Get rid of remaining sources of bignum leaks 2017-02-17 14:46:10 +00:00
Justin Ethier
6d02427d1b Get rid of make_empty_bignum 2017-02-17 13:58:48 +00:00
Justin Ethier
97d3acb3af Remove assign_empty_bignum 2017-02-17 13:49:36 +00:00
Justin Ethier
733ae48534 Do not call mp_expt_d for negative exponents 2017-02-17 12:53:16 +00:00
Justin Ethier
46c41be356 Better bignum support for number->string 2017-02-17 12:15:04 +00:00
Justin Ethier
53a9e2613f Allow equal? to recognize equal ints/bignums 2017-02-16 18:03:14 -05:00
Justin Ethier
964614f9bb (number->string) support for bignums 2017-02-16 17:24:16 -05:00
Justin Ethier
4aad33fdad WIP 2017-02-17 04:06:41 -05:00
Justin Ethier
b8f6db0290 Check for 30-bit multiplication overflow 2017-02-17 03:48:36 -05:00
Justin Ethier
268d59d15d Working on Cyc_expt 2017-02-15 18:59:36 -05:00
Justin Ethier
50f2c34f4a WIP 2017-02-16 04:45:27 -05:00
Justin Ethier
8c4ec056c8 WIP 2017-02-16 04:34:05 -05:00
Justin Ethier
670d5a0e98 Improve range checks 2017-02-16 04:01:00 -05:00
Justin Ethier
9899189c60 Signed multiplication overflow check 2017-02-16 03:01:26 -05:00
Justin Ethier
d317539528 Additional bignum operations 2017-02-16 01:28:37 -05:00
Justin Ethier
77d8efe627 Fix order of arguments 2017-02-16 01:08:15 -05:00
Justin Ethier
d1a6db14a7 WIP 2017-02-16 00:38:01 -05:00
Justin Ethier
5c77948a00 WIP 2017-02-16 00:14:10 -05:00
Justin Ethier
55dd1a570e WIP 2017-02-14 17:58:12 -05:00
Justin Ethier
1d6ea4589c WIP 2017-02-15 04:24:15 -05:00
Justin Ethier
0b4e911a3e Fix for signed int promotion 2017-02-14 15:05:24 +00:00
Justin Ethier
c424ce99b7 WIP 2017-02-13 18:57:42 -05:00
Justin Ethier
58d5c47486 WIP 2017-02-13 16:47:38 +00:00
Justin Ethier
c66f31cacd Hooks for bignum arithmetic 2017-02-12 21:58:22 +00:00
Justin Ethier
a6cbce207c Finish comparison ops 2017-02-10 16:26:48 +00:00
Justin Ethier
a9f45d8fb5 Starting to check for over/under flow 2017-02-10 22:41:10 -05:00
Justin Ethier
14956ea58f WIP, bignum integer comparisons 2017-02-10 00:02:24 +00:00
Justin Ethier
73a513f0c9 bignum/bignum equality 2017-02-09 22:11:29 +00:00
Justin Ethier
7c2bc7f514 WIP for bignum comparisons 2017-02-10 04:40:00 -05:00
Justin Ethier
4ad41f6d5c Print bignums 2017-02-10 00:54:18 -05:00
Justin Ethier
b9d6d5d873 WIP - reading bignums 2017-02-10 00:37:41 -05:00
Justin Ethier
b9c8d2abf4 WIP for libtommath 2017-02-08 18:33:20 -05:00
Justin Ethier
57562071c9 Issue #158 - Removed make_int macro
Also removed some related code that became redundant.
2017-01-30 16:54:23 +00:00
Justin Ethier
54051ead86 Fixed up code so it builds now 2017-01-26 18:03:15 -05:00
Justin Ethier
ce0bffb31a WIP 2017-01-26 23:45:46 -05:00
Justin Ethier
0d651d4ff7 Starting the heap changes
This leaves everything as a mess at the moment, there are still a lot of changes that need to be made.
2017-01-25 18:57:38 -05:00
Justin Ethier
2ce541ed4b Issue #155 - Check bytevectors for deep equality 2017-01-24 20:54:29 -05:00
Justin Ethier
07500ce6d6 Properly store thread ID in thread objects
Also sketched out thread-join support but there are larger issues to consider to get that working.
2017-01-22 18:58:37 -05:00
Justin Ethier
649e0eb5c8 Inline gc_mark_globals
Force inlining to attempt to improve performance
2017-01-11 17:54:49 -05:00
Justin Ethier
f6fc268820 WIP 2016-12-21 18:35:02 -05:00
Justin Ethier
e78b336b78 Issue #102 - Pass data parameter to Cyc_display() 2016-12-22 00:14:53 -05:00
Justin Ethier
f60fed7344 Issue #102 - Added a data parameter to Cyc_write() 2016-12-21 23:47:39 -05:00
Justin Ethier
7728e25b8f Output chars correctly via write 2016-12-20 22:35:08 -05:00
Justin Ethier
8c8dc01d44 Call pthread_attr_destroy to free up resources 2016-12-20 05:42:31 -05:00
Justin Ethier
27f7ceab7d Pass thread attr to pthread_create() 2016-12-19 18:59:47 -05:00
Justin Ethier
e005dc79e2 Issue #5 - Do not allow cycles when printing cvars 2016-12-19 14:49:15 +00:00
Justin Ethier
71aaf162c9 Allow Cyc-list to handle 0 args 2016-11-28 18:32:27 -05:00
Justin Ethier
5790716927 Added Cyc_list() 2016-11-28 18:11:36 -05:00
Justin Ethier
97fa0c2dbd WIP 2016-11-19 05:35:25 +00:00