bug#18932: string->number errors on e.g. "1e400xyz"

2024-08-09 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
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"))

bug#18932:

2016-09-14 Thread Jonathan Theodore Mayer
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.

bug#18932: [Anand Mohanadoss] symbol printing problem

2016-08-08 Thread Andy Wingo
--- 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

bug#18932: #18932 string->number errors on e.g. "1e400xyz"

2015-01-21 Thread guile@discard.email
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-

bug#18932: string->number errors on e.g. "1e400xyz"

2014-11-03 Thread "Taylan Ulrich Bayırlı/Kammer"
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