Can someone explain this answer to me System.out.println(Math.min(-0.0,+0.0)); System.out.println(Math.max(0.0,+0.0)); System.out.println(Math.min(-0.0,+0.0)==Math.max(0.0,+0.0)); It prints out -0.0 0.0 true. Is -0.0 same as 0.0 . Thanks
cmacpher, Welcome to Javaranch We'd like you to read the Javaranch Naming Policy and change your publicly displayed name (change it here) to comply with our unique rule. Thank you. PS: Quote from the naming policy:
For your publicly displayed name, use a first name, a space, and a last name. Obviously fictitious names or improperly formatted names may be locked out.