I am not familiar with how Java's arithmetic works, but it seems from
http://hanuska.blogspot.com/2007/08/arithmeticexception-vs-nan.html
and http://www.concentric.net/~Ttwang/tech/javafloat.htm that dividing
a double or float by 0 should result in positive or negative infinity
(like Double.POSITIVE_INFINITY) or NaN (e.g. Double.NaN). But doing so
in Clojure always throws an ArithmeticException. Is this different
from Java's behavior? Is it possible to get positive or negative
infinity from division in Clojure?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
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