Home
last modified time | relevance | path

Searched refs:longBitsToDouble (Results 1 – 25 of 47) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/Math/
DHyperbolicTests.java245 {Double.longBitsToDouble(0x7FF0000000000001L), NaNd}, in testSinh()
246 {Double.longBitsToDouble(0xFFF0000000000001L), NaNd}, in testSinh()
247 {Double.longBitsToDouble(0x7FF8555555555555L), NaNd}, in testSinh()
248 {Double.longBitsToDouble(0xFFF8555555555555L), NaNd}, in testSinh()
249 {Double.longBitsToDouble(0x7FFFFFFFFFFFFFFFL), NaNd}, in testSinh()
250 {Double.longBitsToDouble(0xFFFFFFFFFFFFFFFFL), NaNd}, in testSinh()
251 {Double.longBitsToDouble(0x7FFDeadBeef00000L), NaNd}, in testSinh()
252 {Double.longBitsToDouble(0xFFFDeadBeef00000L), NaNd}, in testSinh()
253 {Double.longBitsToDouble(0x7FFCafeBabe00000L), NaNd}, in testSinh()
254 {Double.longBitsToDouble(0xFFFCafeBabe00000L), NaNd}, in testSinh()
[all …]
DExpm1Tests.java61 {Double.longBitsToDouble(0x7FF0000000000001L), NaNd}, in testExpm1()
62 {Double.longBitsToDouble(0xFFF0000000000001L), NaNd}, in testExpm1()
63 {Double.longBitsToDouble(0x7FF8555555555555L), NaNd}, in testExpm1()
64 {Double.longBitsToDouble(0xFFF8555555555555L), NaNd}, in testExpm1()
65 {Double.longBitsToDouble(0x7FFFFFFFFFFFFFFFL), NaNd}, in testExpm1()
66 {Double.longBitsToDouble(0xFFFFFFFFFFFFFFFFL), NaNd}, in testExpm1()
67 {Double.longBitsToDouble(0x7FFDeadBeef00000L), NaNd}, in testExpm1()
68 {Double.longBitsToDouble(0xFFFDeadBeef00000L), NaNd}, in testExpm1()
69 {Double.longBitsToDouble(0x7FFCafeBabe00000L), NaNd}, in testExpm1()
70 {Double.longBitsToDouble(0xFFFCafeBabe00000L), NaNd}, in testExpm1()
DLog10Tests.java59 {Double.longBitsToDouble(0x7FF0000000000001L), NaNd}, in testLog10()
60 {Double.longBitsToDouble(0xFFF0000000000001L), NaNd}, in testLog10()
61 {Double.longBitsToDouble(0x7FF8555555555555L), NaNd}, in testLog10()
62 {Double.longBitsToDouble(0xFFF8555555555555L), NaNd}, in testLog10()
63 {Double.longBitsToDouble(0x7FFFFFFFFFFFFFFFL), NaNd}, in testLog10()
64 {Double.longBitsToDouble(0xFFFFFFFFFFFFFFFFL), NaNd}, in testLog10()
65 {Double.longBitsToDouble(0x7FFDeadBeef00000L), NaNd}, in testLog10()
66 {Double.longBitsToDouble(0xFFFDeadBeef00000L), NaNd}, in testLog10()
67 {Double.longBitsToDouble(0x7FFCafeBabe00000L), NaNd}, in testLog10()
68 {Double.longBitsToDouble(0xFFFCafeBabe00000L), NaNd}, in testLog10()
[all …]
DLog1pTests.java76 {Double.longBitsToDouble(0x7FF0000000000001L), NaNd}, in testLog1p()
77 {Double.longBitsToDouble(0xFFF0000000000001L), NaNd}, in testLog1p()
78 {Double.longBitsToDouble(0x7FF8555555555555L), NaNd}, in testLog1p()
79 {Double.longBitsToDouble(0xFFF8555555555555L), NaNd}, in testLog1p()
80 {Double.longBitsToDouble(0x7FFFFFFFFFFFFFFFL), NaNd}, in testLog1p()
81 {Double.longBitsToDouble(0xFFFFFFFFFFFFFFFFL), NaNd}, in testLog1p()
82 {Double.longBitsToDouble(0x7FFDeadBeef00000L), NaNd}, in testLog1p()
83 {Double.longBitsToDouble(0xFFFDeadBeef00000L), NaNd}, in testLog1p()
84 {Double.longBitsToDouble(0x7FFCafeBabe00000L), NaNd}, in testLog1p()
85 {Double.longBitsToDouble(0xFFFCafeBabe00000L), NaNd}, in testLog1p()
DHypotTests.java76 {Double.longBitsToDouble(0x7FF0000000000001L), 1.0, NaNd}, in testHypot()
77 {Double.longBitsToDouble(0xFFF0000000000001L), 1.0, NaNd}, in testHypot()
78 {Double.longBitsToDouble(0x7FF8555555555555L), 1.0, NaNd}, in testHypot()
79 {Double.longBitsToDouble(0xFFF8555555555555L), 1.0, NaNd}, in testHypot()
80 {Double.longBitsToDouble(0x7FFFFFFFFFFFFFFFL), 1.0, NaNd}, in testHypot()
81 {Double.longBitsToDouble(0xFFFFFFFFFFFFFFFFL), 1.0, NaNd}, in testHypot()
82 {Double.longBitsToDouble(0x7FFDeadBeef00000L), 1.0, NaNd}, in testHypot()
83 {Double.longBitsToDouble(0xFFFDeadBeef00000L), 1.0, NaNd}, in testHypot()
84 {Double.longBitsToDouble(0x7FFCafeBabe00000L), 1.0, NaNd}, in testHypot()
85 {Double.longBitsToDouble(0xFFFCafeBabe00000L), 1.0, NaNd}, in testHypot()
DCubeRootTests.java70 {Double.longBitsToDouble(0x7FF0000000000001L), NaNd}, in testCubeRoot()
71 {Double.longBitsToDouble(0xFFF0000000000001L), NaNd}, in testCubeRoot()
72 {Double.longBitsToDouble(0x7FF8555555555555L), NaNd}, in testCubeRoot()
73 {Double.longBitsToDouble(0xFFF8555555555555L), NaNd}, in testCubeRoot()
74 {Double.longBitsToDouble(0x7FFFFFFFFFFFFFFFL), NaNd}, in testCubeRoot()
75 {Double.longBitsToDouble(0xFFFFFFFFFFFFFFFFL), NaNd}, in testCubeRoot()
76 {Double.longBitsToDouble(0x7FFDeadBeef00000L), NaNd}, in testCubeRoot()
77 {Double.longBitsToDouble(0xFFFDeadBeef00000L), NaNd}, in testCubeRoot()
78 {Double.longBitsToDouble(0x7FFCafeBabe00000L), NaNd}, in testCubeRoot()
79 {Double.longBitsToDouble(0xFFFCafeBabe00000L), NaNd}, in testCubeRoot()
[all …]
DIeeeRecommendedTests.java67 return Double.longBitsToDouble((((long) n + (long) Double.MAX_EXPONENT) << in powerOfTwoD()
268 randFloat = Double.longBitsToDouble( // Exponent in testDoubleGetExponent()
314 double randFloat = Double.longBitsToDouble( // Exponent in testDoubleGetExponent()
831 double[] NaNs = {Double.longBitsToDouble(0x7ff8000000000000L), // "positive" NaN in testDoubleCopySign()
832 Double.longBitsToDouble(0xfff8000000000000L), // "negative" NaN in testDoubleCopySign()
833 Double.longBitsToDouble(0x7FF0000000000001L), in testDoubleCopySign()
834 Double.longBitsToDouble(0xFFF0000000000001L), in testDoubleCopySign()
835 Double.longBitsToDouble(0x7FF8555555555555L), in testDoubleCopySign()
836 Double.longBitsToDouble(0xFFF8555555555555L), in testDoubleCopySign()
837 Double.longBitsToDouble(0x7FFFFFFFFFFFFFFFL), in testDoubleCopySign()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DDoubleTest.java284 double r = Double.longBitsToDouble(lbits); in test_doubleToLongBitsD()
294 double d = Double.longBitsToDouble(l); in test_doubleToRawLongBitsD()
411 double r = Double.longBitsToDouble(lbits); in test_longBitsToDoubleJ()
694 expected = Double.longBitsToDouble(0x4900000000000000L); in test_parseDouble_LString_FromHexString()
698 expected = Double.longBitsToDouble(0x7f30000000000000L); in test_parseDouble_LString_FromHexString()
708 expected = Double.longBitsToDouble(0xf0000000000000L); in test_parseDouble_LString_FromHexString()
785 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_NormalPositiveExponent()
846 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_NormalNegativeExponent()
910 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_MaxNormalBoundary()
974 double expected = Double.longBitsToDouble(expecteds[i]); in test_parseDouble_LString_MinNormalBoundary()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DDoubleAccumulator.java39 import static java.lang.Double.longBitsToDouble;
112 (function.applyAsDouble(longBitsToDouble(b = base), x))) != b in accumulate()
122 (longBitsToDouble(v = c.value), x))) == v) in accumulate()
139 double result = longBitsToDouble(base); in get()
144 (result, longBitsToDouble(c.value)); in get()
179 double result = longBitsToDouble(getAndSetBase(identity)); in getThenReset()
183 double v = longBitsToDouble(c.getAndSet(identity)); in getThenReset()
277 double d = longBitsToDouble(identity); in readResolve()
DDoubleAdder.java94 (Double.longBitsToDouble(b) + x))) { in add()
101 (Double.longBitsToDouble(v) + x)))) in add()
120 double sum = Double.longBitsToDouble(base); in sum()
124 sum += Double.longBitsToDouble(c.value); in sum()
158 double sum = Double.longBitsToDouble(getAndSetBase(0L)); in sumThenReset()
162 sum += Double.longBitsToDouble(c.getAndSet(0L)); in sumThenReset()
/libcore/ojluni/src/test/java/lang/StrictMath/
DExpTests.java55 static final double EXP_OVERFLOW_THRESH = Double.longBitsToDouble(0x4086_2E42_FEFA_39EFL);
59 static final double EXP_UNDERFLOW_THRESH = Double.longBitsToDouble(0xc087_4910_D52D_3051L);
101 Double.longBitsToDouble(0x4086_2E42_0000_0000L - 512L), in testAgainstTranslit()
102 Double.longBitsToDouble(0x3fd6_2e42_0000_0000L - 512L), in testAgainstTranslit()
103 Double.longBitsToDouble(0x3FF0_A2B2_0000_0000L - 512L), in testAgainstTranslit()
104 Double.longBitsToDouble(0x3e30_0000_0000_0000L - 512L), in testAgainstTranslit()
DFdlibmTranslit.java51 return Double.longBitsToDouble((transX & 0xFFFF_FFFF_0000_0000L) | in __LO()
69 return Double.longBitsToDouble((transX & 0x0000_0000_FFFF_FFFFL) | in __HI()
/libcore/ojluni/src/test/java/lang/Double/
DExtremaTest.java38 Assert.assertEquals(Double.longBitsToDouble(0x1L), Double.MIN_VALUE, in testExtremalValues()
41 Assert.assertEquals(Double.longBitsToDouble(0x0010000000000000L), Double.MIN_NORMAL, in testExtremalValues()
44 Assert.assertEquals (Double.longBitsToDouble(0x7fefffffffffffffL), Double.MAX_VALUE, in testExtremalValues()
DBitwiseConversionTest.java48 longBitsToDouble(DoubleConsts.EXP_BIT_MASK | y), in testNanCase()
49 longBitsToDouble(DoubleConsts.SIGN_BIT_MASK | DoubleConsts.EXP_BIT_MASK | y) in testNanCase()
/libcore/ojluni/src/main/java/java/lang/
DMath.java2152 return Double.longBitsToDouble(Double.doubleToRawLongBits(a) & DoubleConsts.MAG_BIT_MASK); in abs()
2696 yield Double.longBitsToDouble(1L << in ulp()
2774 return Double.longBitsToDouble((Double.doubleToRawLongBits(d) &
3068 return Double.longBitsToDouble((Double.doubleToRawLongBits(sign) &
3228 return Double.longBitsToDouble(transducer + ((transducer > 0L) ? -1L : 1L));
3236 return Double.longBitsToDouble(transducer + ((transducer >= 0L) ? 1L : -1L));
3361 return Double.longBitsToDouble(transducer + ((transducer >= 0L) ? 1L : -1L));
3441 return Double.longBitsToDouble(Double.doubleToRawLongBits(d) +
3633 return Double.longBitsToDouble((((long)n + (long)DoubleConsts.EXP_BIAS) <<
/libcore/benchmarks/src/benchmarks/regression/
DDoubleBenchmark.java46 result = Double.longBitsToDouble(l); in timeLongBitsToDouble()
/libcore/ojluni/src/main/native/
DDouble.c67 NATIVE_METHOD(Double, longBitsToDouble, "(J)D"),
/libcore/ojluni/src/main/java/java/nio/
DBits.java497 return Double.longBitsToDouble(getLongL(bb, bi)); in getDoubleL()
501 return Double.longBitsToDouble(getLongL(a)); in getDoubleL()
505 return Double.longBitsToDouble(getLongB(bb, bi)); in getDoubleB()
509 return Double.longBitsToDouble(getLongB(a)); in getDoubleB()
/libcore/ojluni/src/main/java/java/io/
DBits.java76 return Double.longBitsToDouble(getLong(b, off)); in getDouble()
/libcore/ojluni/annotations/flagged_api/java/lang/
DDouble.annotated.java82 public static native double longBitsToDouble(long bits); in longBitsToDouble() method in Double
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DDouble.annotated.java81 public static native double longBitsToDouble(long bits); in longBitsToDouble() method in Double
/libcore/ojluni/annotations/hiddenapi/java/lang/
DDouble.java130 public static native double longBitsToDouble(long bits); in longBitsToDouble() method in Double
/libcore/luni/src/test/java/libcore/java/io/
DDataOutputStreamTest.java67 os.writeDouble(Double.longBitsToDouble(0x0123456789abcdefL)); in test_writeDouble()
/libcore/luni/src/test/java/libcore/java/lang/
DIntrinsicTest.java143 Double.longBitsToDouble(0L); in testDouble_longBitsToDouble()
/libcore/ojluni/src/test/java/util/Arrays/
DFloatDoubleOrder.java63 double negNan = Double.longBitsToDouble(0xfff8000000000000L); in test()

12