Welcome! Please see the About page for a little more info on how this works.

0 votes
in Docs by

In the docstring for clojure.math/floor it says:

If a is less than zero but greater than -1.0 => -0.0

but that's obviously not true:

(math/floor -0.3)
;; => -1.0

I guess it was intended to add that line to the docstring of clojure.math/ceil but added it to floor by mistake?

1 Answer

0 votes
by
selected by
 
Best answer
...