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

Comparing jsr166/src/jsr166e/extra/AtomicDoubleArray.java (file contents):
Revision 1.7 by jsr166, Mon Feb 11 06:29:57 2013 UTC vs.
Revision 1.8 by jsr166, Mon Mar 4 15:21:23 2013 UTC

# Line 14 | Line 14 | import static java.lang.Double.longBitsT
14   * See the {@link java.util.concurrent.atomic} package specification
15   * for description of the properties of atomic variables.
16   *
17 < * <p><a name="bitEquals">This class compares primitive {@code double}
17 > * <p id="bitEquals">This class compares primitive {@code double}
18   * values in methods such as {@link #compareAndSet} by comparing their
19   * bitwise representation using {@link Double#doubleToRawLongBits},
20   * which differs from both the primitive double {@code ==} operator
# Line 24 | Line 24 | import static java.lang.Double.longBitsT
24   *   long xBits = Double.doubleToRawLongBits(x);
25   *   long yBits = Double.doubleToRawLongBits(y);
26   *   return xBits == yBits;
27 < * }}</pre></a>
27 > * }}</pre>
28   *
29   * @author Doug Lea
30   * @author Martin Buchholz

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines