(parse-float "3f0") fails
phoe opened this issue · comments
If I read CLHS 2.3.1 Numbers as Tokens correctly, then 3f0
is a valid float. At least on SBCL, it is, but parse-float
does not currently accept it:
CL-USER> 3f0
3.0
CL-USER> (ignore-errors (serapeum:parse-float "3f0"))
NIL
#<SIMPLE-ERROR "Junk in string" {1008FA7E23}>