planck-repl / planck

Stand-alone ClojureScript REPL
https://planck-repl.org
Eclipse Public License 1.0
1.03k stars 68 forks source link

integer? predicate differs from ClojureScript #1036

Closed mfikes closed 4 years ago

mfikes commented 4 years ago

799 can cause different results than regular ClojureScript. For example: (integer? 1.1e22) returns true in Planck but false in regular ClojureScript.

The intent of #799 was to be an optimization, not change semantics or create inconsistencies with regular ClojureScript.