Justin Ethier
ce8e378c00
Use latest upload workflow
2024-09-24 18:52:38 -07:00
Justin Ethier
9470fb3e89
Add CI to build C runtime
...
Can expand into scheme at some point, this is a first step.
2024-09-24 18:33:04 -07:00
Justin Ethier
cc8921938c
Merge remote-tracking branch 'origin/master' into issue-522
2024-09-24 18:29:00 -07:00
Justin Ethier
645683937f
Merge pull request #539 from justinethier/issue-537-apply-in-icyc
...
Issue 537 apply in icyc
2024-05-21 21:59:37 -04:00
Justin Ethier
65fa16cce7
Issue #537 - Add tests
2024-05-21 18:58:49 -07:00
Justin Ethier
bb6b3eafed
Issue #537 - Document bug fix
2024-05-21 18:54:17 -07:00
Justin Ethier
06219634e9
Issue #537 - Add useful comments
2024-05-21 18:41:41 -07:00
Justin Ethier
1ce4979658
Testing fix for issue #537
2024-05-20 19:31:38 -07:00
Justin Ethier
6b556d3a7a
Merge pull request #538 from justinethier/issue-534-tail-call-fixes
...
Issue 534 tail call fixes
2024-04-24 21:54:55 -04:00
Justin Ethier
8e74c0409e
Add code change back
2024-04-22 18:32:06 -07:00
Justin Ethier
0a062177f7
Issue #534 - Bug fix for beta exp bug
...
Perform full scanning of function application list to ensure self-recursive calls are found. This prevents infinite loops in the beta expansion code when compiling simple recursive calls.
2024-04-02 18:54:15 -07:00
Justin Ethier
59096d9dc2
Merge pull request #533 from justinethier/issue-530-2
...
Resolve Issue 530
2024-03-14 22:43:32 -04:00
Justin Ethier
82b0f9f3e2
Cleanup
2024-03-14 19:42:42 -07:00
Justin Ethier
07e747a08f
Revise doc for issue #530
2024-03-14 18:58:29 -07:00
Justin Ethier
0ea2457db6
Issue #530 - Adding more tests
2024-03-14 18:57:09 -07:00
Justin Ethier
92de62ce14
Issue #530 - Document changes
2024-03-13 19:33:00 -07:00
Justin Ethier
29b4c77922
Cleanup
2024-03-13 19:32:15 -07:00
Justin Ethier
6068b30ded
Issue #530 - Handle parsing of +i / -i
2024-03-13 19:31:58 -07:00
Justin Ethier
1f76d474f7
Document fixes to sqrt
2024-03-12 19:25:23 -07:00
Justin Ethier
512e962a9b
Add more sqrt tests
2024-03-12 19:22:09 -07:00
Justin Ethier
887e1e5aa9
Return fixnum if sqrt(fixnum) is an exact int
2024-03-12 19:06:54 -07:00
Justin Ethier
32af1bcd05
Removing top-level sqrt
...
This isn't good enough, there are going to be bootstrap compilation problems undoing this...
2024-03-11 19:29:54 -07:00
Justin Ethier
a2568d8589
Allow inline sqrt
2024-03-11 19:29:44 -07:00
Justin Ethier
fa6213b907
Issue #530 - First cut at improving sqrt
...
Improving sqrt to properly handle negative parameter values
2024-03-11 19:19:12 -07:00
Justin Ethier
37b39693ed
Bump to 0.37.0
2024-03-05 17:54:06 -08:00
Justin Ethier
eb53b0fb16
Document PR fix
2024-03-05 17:53:43 -08:00
Justin Ethier
16a4323d4a
Merge branch 'master' of github.com:justinethier/cyclone
2024-03-05 17:52:53 -08:00
Justin Ethier
706f7ef2a8
Merge pull request #528 from yorickhardy/master
...
Define *ai-v4mapped* to zero on platforms where AI_V4MAPPED is undefined
2024-03-05 20:51:54 -05:00
Justin Ethier
a53f42d082
Merge branch 'master' of github.com:justinethier/cyclone
2024-03-05 17:48:26 -08:00
Yorick Hardy
bb3df95d13
Define *ai-v4mapped* to zero on platforms where AI_V4MAPPED is undefined.
...
This change defines *ai-v4mapped* to zero when AI_V4MAPPED is undefined
and similarly for *ai-all* (similar to other patches). This allows
(srfi 106) to be available on NetBSD and other platforms without
AI_V4MAPPED and is the recommended behaviour by the author of SRFI-106:
https://srfi-email.schemers.org/srfi-106/msg/2762553/
2024-03-05 22:18:44 +02:00
Justin Ethier
a6aa16de52
Added WASM release instructions
2024-02-19 22:44:02 -05:00
Justin Ethier
03107cadf1
Update Release-Checklist.md
2024-02-13 21:36:54 -05:00
Justin Ethier
54b69b86c8
Prep release
2024-02-13 18:31:23 -08:00
Justin Ethier
b5486887e8
Increment revision number
2024-02-13 18:29:04 -08:00
Justin Ethier
393615e039
Add latest fix
2024-02-13 18:28:56 -08:00
Justin Ethier
42608c77cb
Update Release-Checklist.md
2024-02-13 21:07:15 -05:00
Justin Ethier
17cce16139
Comment out so we don't keep breaking bootstrap
...
These tests fail on mac and we can't use them in the bootstrap repo
2024-02-13 18:03:03 -08:00
Justin Ethier
5ea2fae5f8
Merge pull request #524 from yorickhardy/master
...
Implement r7rs round to even behaviour for half integers
2024-02-02 21:31:52 -05:00
Yorick Hardy
4bbceeb4d6
round half-integers to even instead of away from zero
...
This changes the behaviour to match r7rs (round x) instead of C round(x).
An answer to https://stackoverflow.com/questions/32746523/ieee-754-compliant-round-half-to-even
suggests using remainder(). The following will work if FE_TONEAREST is defined, but C11
requires FE_TONEAREST to be defined if and only if the implemenetation supports it in
fegetround() and fesetround() [Draft N1570]. On the other hand, remainder() must be defined.
C23 will have roundeven(), but this is not yet available on all platforms.
The behaviour of remainder is described in Draft N1570, page 254, footnote 239.
Alternative implementation:
double round_to_nearest_even(double x)
{
#pragma STDC FENV_ACCESS ON
int mode;
double nearest;
mode = fegetround();
fesetround(FE_TONEAREST);
nearest = nearbyint(x);
fesetround(mode);
#pragma STDC FENV_ACCESS OFF
return nearest;
}
2024-02-01 22:25:47 +02:00
Yorick Hardy
7d8f70fb07
add more tests for rounding
...
r7rs requires (round x) to round to even when x is halfway between
two integers, while C requires round(x) to round away from zero.
2024-02-01 22:23:16 +02:00
Justin Ethier
aa6bb64bfa
Include -g option for test-lib
2024-01-29 18:48:09 -08:00
Justin Ethier
eb0ed93d0e
Add example tests for non-CPS
2024-01-29 18:47:50 -08:00
Justin Ethier
b448438bd6
Cleanup
2024-01-29 18:47:37 -08:00
Justin Ethier
c158467755
Break into separate CI tasks
2024-01-29 18:32:22 -08:00
Justin Ethier
1460221990
Fix typo
2024-01-29 18:28:57 -08:00
Justin Ethier
ccc66ab920
Build runtime library
2024-01-29 18:27:43 -08:00
Justin Ethier
b7152b3468
Use cflags for test-lib
2024-01-29 18:21:31 -08:00
Justin Ethier
d46c4cb9d8
Add test-lib to CI
2024-01-29 18:17:54 -08:00
Justin Ethier
3019527c0e
Get test-lib to compile and run
2024-01-29 18:16:47 -08:00
Justin Ethier
5defc8d8a1
WIP - C unit testing stubs
2024-01-17 19:55:02 -08:00