Menu

#3 How to handle "negative zero"?

open
nobody
None
3
2006-09-09
2006-09-09
No

In the Java double type, there's such a thing as
"negative zero", which is == to positive zero, but can
be distinguished by division; dividing 1 by -0 gives
negative infinity, while dividing 1 by +0 yields
positive infinity. The Interval class should deal with
this somehow.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB