Does anyone know what or how the below line in the below code
works? Math.max(-0.0, +0,0) == Math.min(-0.0, +0,0)
<Code>
public class Q17 {
public void check() {
double f1 = Math.min(-0.0, +0.0);
System.out.println("min" + Math.min(-0.0, +0.0));
System.out.println("max" +
(Math.max(-0.0, +0.0) == Math.min(-0.0, +0.0)));
System.out.println("compare" + Math.max(-0.0, +0.0) );
}
public static void main(
String args []) {
new Q17().check();
}
}
<\Code>
Thank you in advance