Home
last modified time | relevance | path

Searched refs:doubleToRawLongBits (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DDoubleAccumulator.java94 base = this.identity = Double.doubleToRawLongBits(identity); in DoubleAccumulator()
105 (r = Double.doubleToRawLongBits in accumulate()
112 (r = Double.doubleToRawLongBits in accumulate()
272 a.base = Double.doubleToRawLongBits(value); in readResolve()
DDoubleAdder.java93 Double.doubleToRawLongBits in add()
99 Double.doubleToRawLongBits in add()
239 a.base = Double.doubleToRawLongBits(value); in readResolve()
DStriped64.java297 return Double.doubleToRawLongBits(d); in apply()
320 Cell r = new Cell(Double.doubleToRawLongBits(x)); in doubleAccumulate()
362 rs[h & 1] = new Cell(Double.doubleToRawLongBits(x)); in doubleAccumulate()
/libcore/ojluni/src/main/java/java/lang/
DMath.java701 long longBits = Double.doubleToRawLongBits(a); in round()
1260 return Double.longBitsToDouble(0x7fffffffffffffffL & Double.doubleToRawLongBits(a)); in abs()
1293 private static long negativeZeroDoubleBits = Double.doubleToRawLongBits(-0.0d);
1340 (Double.doubleToRawLongBits(a) == negativeZeroDoubleBits)) { in max()
1420 (Double.doubleToRawLongBits(b) == negativeZeroDoubleBits)) { in min()
1782 return Double.longBitsToDouble((Double.doubleToRawLongBits(sign) & in copySign()
1784 (Double.doubleToRawLongBits(magnitude) & in copySign()
1856 return (int)(((Double.doubleToRawLongBits(d) & DoubleConsts.EXP_BIT_MASK) >> in getExponent()
1921 long transducer = Double.doubleToRawLongBits(start + 0.0d); in nextAfter()
2089 return Double.longBitsToDouble(Double.doubleToRawLongBits(d) + in nextUp()
[all …]
DDouble.java836 long result = doubleToRawLongBits(value); in doubleToLongBits()
882 public static native long doubleToRawLongBits(double value); in doubleToRawLongBits() method in Double
DStrictMath.java394 long doppel = Double.doubleToRawLongBits(a); in floorOrCeil()
/libcore/benchmarks/src/benchmarks/regression/
DDoubleBenchmark.java36 result = Double.doubleToRawLongBits(d); in timeDoubleToRawLongBits()
49 … throw new RuntimeException(Double.toString(result) + " " + Double.doubleToRawLongBits(result)); in timeLongBitsToDouble()
/libcore/ojluni/src/main/native/
DDouble.c68 NATIVE_METHOD(Double, doubleToRawLongBits, "(D)J"),
/libcore/ojluni/annotations/hiddenapi/java/lang/
DDouble.java128 public static native long doubleToRawLongBits(double value); in doubleToRawLongBits() method in Double
/libcore/ojluni/src/main/java/java/nio/
DBits.java518 putLongL(bb, bi, Double.doubleToRawLongBits(x)); in putDoubleL()
522 putLongL(a, Double.doubleToRawLongBits(x)); in putDoubleL()
526 putLongB(bb, bi, Double.doubleToRawLongBits(x)); in putDoubleB()
530 putLongB(a, Double.doubleToRawLongBits(x)); in putDoubleB()
DDirectByteBuffer.java900 long y = Double.doubleToRawLongBits(x); in putDouble()
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java306 assertEquals(0xA7A6A5A4A3A2A1A0L, Double.doubleToRawLongBits(b.getDouble(0))); in byteBufferTest()
307 assertEquals(0xA8A7A6A5A4A3A2A1L, Double.doubleToRawLongBits(b.getDouble(1))); in byteBufferTest()
322 assertEquals(0xA0A1A2A3A4A5A6A7L, Double.doubleToRawLongBits(b.getDouble(0))); in byteBufferTest()
323 assertEquals(0xA1A2A3A4A5A6A7A8L, Double.doubleToRawLongBits(b.getDouble(1))); in byteBufferTest()
DBufferTest.java88 assertEquals(0, Double.doubleToRawLongBits(doubles[0])); in testByteSwappedBulkGet()
89 assertEquals(0x0102030405060708L, Double.doubleToRawLongBits(doubles[1])); in testByteSwappedBulkGet()
90 assertEquals(0, Double.doubleToRawLongBits(doubles[2])); in testByteSwappedBulkGet()
92 assertEquals(0, Double.doubleToRawLongBits(doubles[0])); in testByteSwappedBulkGet()
93 assertEquals(0x0807060504030201L, Double.doubleToRawLongBits(doubles[1])); in testByteSwappedBulkGet()
94 assertEquals(0, Double.doubleToRawLongBits(doubles[2])); in testByteSwappedBulkGet()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DDouble.annotated.java79 public static native long doubleToRawLongBits(double value); in doubleToRawLongBits() method in Double
/libcore/luni/src/test/java/libcore/java/lang/
DIntrinsicTest.java138 Double.doubleToRawLongBits(0.0); in testDouble_doubleToRawLongBits()
/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java356 long transducer = Double.doubleToRawLongBits(d); in ilogb()
DFloatingDecimal.java822 long dBits = Double.doubleToRawLongBits(d); //can't be NaN here so use raw
1251 long ieeeBits = Double.doubleToRawLongBits(dValue); // IEEE-754 bits of double candidate
1750 long dBits = Double.doubleToRawLongBits(d); in getBinaryToASCIIConverter()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDoubleBufferTest.java59 long longBitsOut = Double.doubleToRawLongBits(dbl); in testNaNs()
69 long bufLongOut = Double.doubleToRawLongBits(bufDoubleOut); in testNaNs()
DByteBufferTest.java2272 return long2bytes(Double.doubleToRawLongBits(value), order); in double2bytes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DDoubleTest.java295 assertTrue("Wrong raw bits", Double.doubleToRawLongBits(d) == l); in test_doubleToRawLongBitsD()
/libcore/ojluni/src/main/java/java/util/
DDualPivotQuicksort.java2595 while (left <= right && Double.doubleToRawLongBits(a[left]) < 0) { in sort()
2625 if (Double.doubleToRawLongBits(ak) < 0) { // ak is -0.0d in sort()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java1673 return Double.toString(d) + "(" + Long.toHexString(Double.doubleToRawLongBits(d)) + ")"; in createPrintableDouble()