Skip to content

Commit

Permalink
fix flonum modulo and remainder
Browse files Browse the repository at this point in the history
Use fmod() instead of trying to work around imprecision in the naive
algorithm.

Thanks to Xsmith random testing for exposing trouble with the old
implementation.
  • Loading branch information
mflatt authored and burgerrg committed Nov 3, 2020
1 parent eaa0580 commit 6db8857
Show file tree
Hide file tree
Showing 9 changed files with 1,314 additions and 8 deletions.
2 changes: 2 additions & 0 deletions LOG
Original file line number Diff line number Diff line change
Expand Up @@ -2138,3 +2138,5 @@
- adjust arm32 backend to not choose shorter instructions for larger
return-address offsets, which breaks label address assignment
arm32.ss
- repair remainder and modulo on flonums by using fmod
prim5.c, 5_3.ss, 5_3.ms
Loading

0 comments on commit 6db8857

Please sign in to comment.