This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 363: Strengthen string->number

2012-10-09 10:43:41
WG1 - Core
cowan
major
cowan
fixed
source
closed
2012-03-23 21:30:52
defect

Peter Bex writes (slightly edited):

Improve the wording in the description of string->number from:

"If string is not a syntactically valid notation for a number, string->number returns #f."

to something like:

"If string is not a syntactically valid notation for a number, or would result in a number that the implementation cannot represent, string->number returns #f."

I'd also like to suggest adding this line to the end:

"The string->number procedure always returns a number or #f; it never raises an exception due to the content of the string."

statusnewdecided

Treating as editorial.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed