2012/10/10 Wes Freeman <[email protected]>

> Float/NaN must be instantiating something?


See http://stackoverflow.com/a/1573715/1367685 and replies to it. NaN (and
floating-point
numbers in general) are tricky beasts.

You get the same behavior in Scala and Java:

scala> Float.NaN == Float.NaN
res1: Boolean = false
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to