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.15 by jsr166, Mon Feb 11 06:29:57 2013 UTC vs.
Revision 1.16 by jsr166, Mon Mar 4 15:21:23 2013 UTC

# Line 19 | Line 19 | import static java.lang.Double.longBitsT
19   * this class does extend {@code Number} to allow uniform access by
20   * tools and utilities that deal with numerically-based classes.
21   *
22 < * <p><a name="bitEquals">This class compares primitive {@code double}
22 > * <p id="bitEquals">This class compares primitive {@code double}
23   * values in methods such as {@link #compareAndSet} by comparing their
24   * bitwise representation using {@link Double#doubleToRawLongBits},
25   * which differs from both the primitive double {@code ==} operator
# Line 29 | Line 29 | import static java.lang.Double.longBitsT
29   *   long xBits = Double.doubleToRawLongBits(x);
30   *   long yBits = Double.doubleToRawLongBits(y);
31   *   return xBits == yBits;
32 < * }}</pre></a>
32 > * }}</pre>
33   *
34   * @see jsr166e.DoubleAdder
35   * @see jsr166e.DoubleMaxUpdater

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines