Actually for floating point numbers in
Java, -0.0 and 0.0 are different.
Math.min(-0.0,0.0) outputs -0.0, but
-0.0 == 0.0 is true too..So it is a little wierd, but that is how it is.
The floating point numbers (double and float) are in this order
NEGATIVE_INFINITY --> negative integers/fractions --> -0.0 --> 0.0 --> positive integers/fractions --> POSITIVE_INFINITY
This is what I know.
Roopesh.