Advertisement
DulcetAirman

+/- 0d

May 4th, 2017
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. System.out.println(-0d + +0d);  // +0.0
  2. System.out.println(-0d + -0d);  // -0.0
  3. System.out.println(+0d + +0d);  // +0.0
  4. System.out.println(+0d + -0d);  // +0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement