ruricolist / serapeum

Utilities beyond Alexandria
MIT License
415 stars 41 forks source link

(parse-float "3f0") fails #137

Closed phoe closed 1 year ago

phoe commented 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:

CL-USER> 3f0
3.0

CL-USER> (ignore-errors (serapeum:parse-float "3f0"))
NIL
#<SIMPLE-ERROR "Junk in string" {1008FA7E23}>