New About Yours API Help
174 bytes, Java
1
2
3
4
5
6
Double d1 = 0.0;
Double d2 = -d1;
System.out.println(d1 == 0);
System.out.println(d2 == 0);
System.out.println(d1.equals(d2));
System.out.println((double) d1 == (double) d2);
Pasted 9 months ago — Expires in 90 days
URL: http://dpaste.com/0ZG1FMQ