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.

Source for wiki PrefixedStringToNumber version 1

author

cowan

comment


    

ipnr

198.185.18.207

name

PrefixedStringToNumber

readonly

0

text

I tested `(string->number "#x10")` against my usual test suite.

Racket, Gauche, MIT, Gambit, Chicken (with or without the numbers egg),
Scheme48/scsh, Guile, SISC, Chibi, Chez, SCM, !Ikarus/Vicare, Larceny,
Ypsilon, Mosh, !IronScheme, NexJ, STklos, !TinyScheme, Scheme 7, Rep,
Elk, UMB, SXI, Sizzle, Spark, Inlab, Owl Lisp all return 16.

Bigloo,
Kawa, KSi, !SigScheme, Dream, BDC, XLisp, Schemik, VX return #f.

Shoe,
Oaklisp, MScheme, Bus don't support `string->number`.

time

2012-05-17 03:42:33

version

1