Commit graph

5984 commits

Author SHA1 Message Date
Justin Ethier
bb4e176e42 WIP, read rationals as inexact nums 2023-11-16 19:37:36 -08:00
Justin Ethier
c599dbb62a WIP 2023-11-15 19:43:25 -08:00
Justin Ethier
9c197965b3 Cleanup, add TODO 2023-11-14 19:48:02 -08:00
Justin Ethier
abaed9f6f2 Issue #510 - Implement exact using runtime functions 2023-09-12 19:20:38 -07:00
Justin Ethier
29a27098a8 Issue #510 - Stage macos compat fix
Apparently mp_set_double does not compile on OSX. Need to fix up this portion of the code.
2023-09-11 19:53:43 -07:00
Justin Ethier
3e3f0114e5 abs computes magnitude for complex nums
Instead of raising an error use C99 function to compute the magnitude instead. This is more useful and seems more correct as well.
2023-09-11 19:13:08 -07:00
Justin Ethier
0cad4cef8c Issue #510 2023-09-11 19:03:57 -07:00
Justin Ethier
7dc1f9e179 Issue #510 - Exact support for complex nums
Allow `exact` to properly handle complex numbers
2023-09-11 19:02:28 -07:00
Justin Ethier
e8ba3f1c1b Issue #510 - Exact conversion of large doubles
Allow `exact` to convert large double values to bignums.
2023-09-11 18:24:33 -07:00
Justin Ethier
f8fbb9ad7d WIP, fixing bugs with double ops
Allow round/ceil/floor/truncate to properly handle doubles.

Need to handle more edge cases with (exact).
2023-09-06 19:41:57 -07:00
Justin Ethier
cc5d1d5d65 WIP 2023-09-05 19:04:18 -07:00
Justin Ethier
46e7e193df Issue #510 - Added test cases 2023-09-05 17:41:36 -07:00
Justin Ethier
0533d3eab0 Merge branch 'issue-509' 2023-09-04 18:31:58 -07:00
Justin Ethier
eb00184a01 Document changes for 509 2023-09-04 18:31:17 -07:00
Justin Ethier
20fe02d9d9 Issue #509 - Raise error on invalid complex ops
Error on more types of complex comparison operations.
2023-08-23 20:00:44 -07:00
Justin Ethier
cc24c6be6d Issue #511 - Properly recognize +inf.0 / -inf.0 2023-08-21 19:11:59 -07:00
Justin Ethier
ca931300e3 WIP 2023-08-17 19:56:41 -07:00
Justin Ethier
fd56e21e90 Issue #506 - abs returns an error for complex nums 2023-08-15 18:46:30 -07:00
Justin Ethier
6c4de85c87 Added example data 2023-03-04 10:54:17 -08:00
Justin Ethier
09795fbc05 Code formatting for module headers 2023-03-04 07:43:01 -08:00
Justin Ethier
1f5aa9a197 Revised 2023-03-04 07:41:23 -08:00
Justin Ethier
6f7b1c6be1 WIP doc 2023-03-04 07:39:22 -08:00
Justin Ethier
bc69663786 Issue #503 - Add to changelog 2023-03-04 07:16:59 -08:00
Justin Ethier
bb707e8604
Merge pull request #503 from jpellegrini/srfi-143
SRFI 143: `fx-{width,least,greatest}` are not procedures
2023-03-04 10:15:36 -05:00
Jeronimo Pellegrini
b60bfc266b SRFI 143: fx-{width,least,greatest} are not procedures
In the SRFI text, these are constants:

fx-width
fx-greatest
fx-least

But they were implemented as procedures in Cyclone.

This patch changes that, so they now are implemented
as constants.
2023-03-04 06:53:53 -03:00
Justin Ethier
cb67aeb0a3 Issue #501 - odd/even must receive an integer
Raise an error if a decimal number is passed to these primitives.
2023-03-03 16:08:12 -08:00
Justin Ethier
bde930a18b
Update Garbage-Collector-Revised-2022.md 2023-01-30 11:57:31 -05:00
Justin Ethier
76668dc76c Update version number, year 2023-01-03 12:15:42 -08:00
Justin Ethier
bd044a3237 Clean up variable names 2023-01-03 12:15:30 -08:00
Justin Ethier
f728618336 Issue #498 - read-line can read 1022+ byte lines
Previously the function would only read up to the first 1022 bytes. We now remove that restriction
2022-12-20 21:44:27 -05:00
Justin Ethier
2ac949b187
Update Garbage-Collector-Revised-2022.md 2022-12-13 13:23:24 -05:00
Justin Ethier
a282d4b9b9
Update Garbage-Collector-Revised-2022.md 2022-12-13 13:22:51 -05:00
Justin Ethier
aefe9f4907 Revs 2022-12-13 10:17:34 -08:00
Justin Ethier
e3e0c3cd6b
Add files via upload 2022-12-13 13:17:06 -05:00
Justin Ethier
206dd838b9
Update Garbage-Collector-Revised-2022.md 2022-12-13 11:38:11 -05:00
Justin Ethier
225d5f615e
Update Garbage-Collector-Revised-2022.md 2022-12-12 16:31:20 -05:00
Justin Ethier
7164df49b1
Update Garbage-Collector-Revised-2022.md 2022-12-12 16:29:40 -05:00
Justin Ethier
1ee14831e7 Revise major GC description, move details to that section 2022-12-12 10:03:40 -08:00
Justin Ethier
ab25e360a9 Merge #497 2022-12-09 13:29:56 -08:00
Justin Ethier
7796d99a79
Merge pull request #496 from amirouche/makefile-consider-git-libraries-first
Makefile: consider git libraries first
2022-12-07 22:25:55 -05:00
Justin Ethier
ced31b4c9c
Update README.md 2022-12-06 11:59:14 -05:00
Amirouche
c294b642ad Makefile: CYCLONE_FOO: replace -A with -I...
... in order to take into account the in tree libraries first.
2022-12-06 17:35:35 +01:00
Amirouche
74faacac50 whitespace cleanup. 2022-12-06 17:33:29 +01:00
Justin Ethier
092a1119b0 Relocate many sections to the appendix 2022-12-04 09:47:34 -05:00
Justin Ethier
cc766f1f51 Single write barrier section 2022-11-30 14:28:52 -08:00
Justin Ethier
ebed695baf Minor GC TOC 2022-11-30 14:26:10 -08:00
Justin Ethier
fec2d37efc Build out minor GC section 2022-11-30 14:18:40 -08:00
Justin Ethier
6f9ec7ef57
Update Garbage-Collector-Revised-2022.md 2022-11-30 15:58:06 -05:00
Justin Ethier
54367ba94c
Update Garbage-Collector-Revised-2022.md 2022-11-30 15:56:27 -05:00
Justin Ethier
24385ad144
Update Garbage-Collector-Revised-2022.md 2022-11-30 15:55:32 -05:00