edge arithmetic case

22 views
Skip to first unread message

Jim Rees

unread,
Feb 7, 2024, 2:10:59 AMFeb 7
to chibi-scheme
(fxquotient fx-least -1) ==> -4611686018427387904

Not technically a bug, because the 'right' answer is not a fixnum, so this is "an error", so any answer (or exception) is valid.

But

(quotient fx-least -1) ==> -4611686018427387904

is a bug because the right answer is representable in chibi.

Alex Shinn

unread,
Feb 7, 2024, 2:23:35 AMFeb 7
to chibi-...@googlegroups.com
Verified, thanks for finding this!

--
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibi-scheme...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibi-scheme/0195c82b-0e47-418f-9b20-b6cedfcf5b26n%40googlegroups.com.

Alex Shinn

unread,
Feb 22, 2024, 8:33:18 PMFeb 22
to chibi-...@googlegroups.com
... and fixed, sorry for the delay.
Reply all
Reply to author
Forward
0 new messages