still happens on the latest guile.
trying to (write) a symbol that starts with large scientific notation also
causes this problem.
(write (string->symbol "1e400xyz"))
The lowest and highest exponent that do not result in an error for
string->number are -324 and 308, respectively. I am running Guile 2.0.9.
--- Begin Message ---
Hi,
We observed the following with guile 2.0.11 -
scheme@(guile-user)> (define sym '912828S7912810RS)
While reading expression:
ERROR: In procedure string->number: Value out of range: 7912810
Is this expected? Do we need to enable any read-options? If this is
expected, it
Note that guile 2.0.11 also gives strange results for large negative exponents:
scheme@(guile-user)> (string->number "1e-400")ERROR: In procedure
string->number:ERROR: In procedure string->number: Value out of range: -400
For comparison, in Scheme 48 1.9
(string->number "1e-400") => 0.0
(string-
When string->number is given a number in scientific notation with a
very high exponent, it errors with "value out of range."
I don't know if that is acceptable, but what seems unacceptable is
that it errors even if the string contains further characters and is
thus not a valid number; R5RS says th