bug or feature? boxed Doubles can give divide-by-zero error

2012-10-30 Thread Tim Olsen
Hello Clojurians. Normally by some IEEE floating-point standard, division by 0.0 should give Infinity (or NaN if the divisor is also 0.0). This is the case when using primitive doubles in clojure: (/ 1.0 0.0) = Infinity And even when using boxed Doubles in java: public class

Re: bug or feature? boxed Doubles can give divide-by-zero error

2012-10-30 Thread Tim Olsen
, JvJ kfjwhee...@gmail.com wrote: I executed the same test in java and got infinity as a result. What version of the JDK are you using? I'm using 1.7 On Tuesday, 30 October 2012 11:10:17 UTC-4, Tim Olsen wrote: Hello Clojurians. Normally by some IEEE floating-point standard, division

Re: clojure.string

2010-09-29 Thread Tim Olsen
On 09/24/2010 01:45 PM, Rasmus Svensson wrote: 2010/9/24 cej38 junkerme...@gmail.com: I noticed that clojure.string is not showing up on the API webpage, http://clojure.github.com/clojure/, is that an oversight? All the clojure.java.* namespaces and clojure.test are gone too... I don't