[ACCEPTED]-Is Double.MIN_VALUE is greater than zero in Java?-double
Accepted answer
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).
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).
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.