ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/extra/AtomicDouble.java
(Generate patch)

Comparing jsr166/src/jsr166e/extra/AtomicDouble.java (file contents):
Revision 1.9 by jsr166, Thu Oct 20 16:33:25 2011 UTC vs.
Revision 1.10 by jsr166, Thu Oct 20 17:47:36 2011 UTC

# Line 25 | Line 25 | import static java.lang.Double.longBitsT
25   * which differs from both the primitive double {@code ==} operator
26   * and from {@link Double#equals}, as if implemented by:
27   *  <pre> {@code
28 < * boolean bitEquals(double x, double y) {
28 > * static boolean bitEquals(double x, double y) {
29   *   long xBits = Double.doubleToRawLongBits(x);
30   *   long yBits = Double.doubleToRawLongBits(y);
31   *   return xBits == yBits;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines