Closed phoe closed 1 year ago
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:
3f0
parse-float
CL-USER> 3f0 3.0 CL-USER> (ignore-errors (serapeum:parse-float "3f0")) NIL #<SIMPLE-ERROR "Junk in string" {1008FA7E23}>
If I read CLHS 2.3.1 Numbers as Tokens correctly, then
3f0
is a valid float. At least on SBCL, it is, butparse-float
does not currently accept it: