Open hemml opened 8 months ago
CL-USER> (type-of 1.2) FLOAT CL-USER> (type-of 1.2e10) INTEGER CL-USER> (type-of 1.2d10) INTEGER
integerp and floatp are also wrong:
integerp
floatp
CL-USER> (integerp 1.2e1) T CL-USER> (floatp 1.2e1) NIL
Yes, this is a known limitation because in Javascript all numbers are floats.
Or they used to be, now support for bignums is common and it would be great to play again with them in JSCL.