to add another:<p><pre><code>    System.out.println(0.0 == -0.0); &#x2F;&#x2F; true
    System.out.println(java.util.Arrays.equals(new double[] {0.0}, new double[] {-0.0})); &#x2F;&#x2F; false
</code></pre>
(It&#x27;s documented in the contract for Arrays.equals, but still kind of ridiculous.)