chibi-scheme
chibi-scheme copied to clipboard
Unable to read the numeric literals `#d+inf.0` and `#b+inf.0`
-
When I enter the expression
#d+inf.0
, I get the following error:> #d+inf.0 ERROR on line 12: invalid complex numeric syntax: #\n >
-
Entering the expression
#b+inf.0
will result in the following error:> #b+inf.0 ERROR on line 11: found non-base 10 complex > ERROR: undefined variable: nf.0
The same is true if you add
#o
or#x
instead of#b
as a prefix.
That's exceedingly pointless syntax, but technically allowed by the standard, I'll add support when I get time.