Fork me on GitHub

Another parse-double question.


In clojure.test-clojure.parse/test-parse-double I think that this line should be parse-double and not parse-long. It passes, because the strings are invalid, and therefore return nil


I believe that these tests are invalid, since they’re expecting nil to be returned when the number is out of range. Instead, the number returned is: • Infinity for very large values • Double/MIN_VALUE for small values that are close to Double/MIN_VALUE • 0 for values that are less than half the size of Double/MIN_VALUE


Sorry for all the noise. I wrote when I first realized something was wrong, and I wrote more as I figured out more. (Sorry, I should have worked it all out first)


no need for apologies Paula, that's just how it goes. I like noise, actually.