[ACCEPTED]-Is Double.MIN_VALUE is greater than zero in Java?-double

Accepted answer
Score: 43

According to the javadoc for Double.MIN_VALUE, MIN_VALUE is:

A constant 5 holding the smallest positive nonzero 4 value of type double

So Double.MIN_VALUE 3 is not negative, it's the positive value 2 that's as close as a Double can get to zero 1 (without being zero).

Score: 6

Double.MIN_VALUE is the smallest positive 2 non-zero value which can be represented 1 by a Java double (see the JavaDoc at http://download.oracle.com/javase/8/docs/api/java/lang/Double.html).

More Related questions