/external/smali/util/src/test/java/org/jf/util/ |
NumberUtilsTest.java | 88 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1.23f))); 89 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1.0f))); 90 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.NaN))); 91 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.NEGATIVE_INFINITY))); 92 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.POSITIVE_INFINITY))); 93 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1e-30f))); 94 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1000f))); 95 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1f))); 96 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(-1f))); 97 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(-5f))) [all...] |
/art/test/703-floating-point-div/src/ |
Main.java | 46 expectEquals(Double.doubleToRawLongBits(dPi/d1), 0x1921fb54442d18L); 47 expectEquals(Double.doubleToRawLongBits(dPi/d2), 0xbff921fb54442d18L); 48 expectEquals(Double.doubleToRawLongBits(dPi/d3), 0x7ff0000000000000L); 49 expectEquals(Double.doubleToRawLongBits(dPi/d4), 0x7fe921fb54442d18L); 50 expectEquals(Double.doubleToRawLongBits(dPi/d5), 0x0L); 51 expectEquals(Double.doubleToRawLongBits(dPi/d6), 0x8000000000000000L); 52 expectEquals(Double.doubleToRawLongBits(dPi/d7), 0xfff0000000000000L); 54 expectEquals(Double.doubleToRawLongBits(dPi/d8), 0xc90fdaa22168cL); 55 expectEquals(Double.doubleToRawLongBits(dPi/d9), 0x7ff0000000000000L);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AtomicDouble.java | 17 import static java.lang.Double.doubleToRawLongBits; 33 * bitwise representation using {@link Double#doubleToRawLongBits}, 38 * long xBits = Double.doubleToRawLongBits(x); 39 * long yBits = Double.doubleToRawLongBits(y); 69 value = doubleToRawLongBits(initialValue); 76 // assert doubleToRawLongBits(0.0) == 0L; 94 long next = doubleToRawLongBits(newValue); 106 // long next = doubleToRawLongBits(newValue); 117 long next = doubleToRawLongBits(newValue); 133 doubleToRawLongBits(expect) [all...] |
AtomicDoubleArray.java | 16 import static java.lang.Double.doubleToRawLongBits; 28 * bitwise representation using {@link Double#doubleToRawLongBits}, 33 * long xBits = Double.doubleToRawLongBits(x); 34 * long yBits = Double.doubleToRawLongBits(y); 70 longArray[i] = doubleToRawLongBits(array[i]); 101 long next = doubleToRawLongBits(newValue); 114 // long next = doubleToRawLongBits(newValue); 127 long next = doubleToRawLongBits(newValue); 145 doubleToRawLongBits(expect), 146 doubleToRawLongBits(update)) [all...] |
/external/guava/guava/src/com/google/common/math/ |
DoubleUtils.java | 21 import static java.lang.Double.doubleToRawLongBits; 48 long bits = Double.doubleToRawLongBits(d); 55 // Double#doubleToRawLongBits(double)} spec. 59 // Double#doubleToRawLongBits(double)} spec. 63 // Double#doubleToRawLongBits(double)} spec. 80 long bits = Double.doubleToRawLongBits(d) & EXPONENT_MASK; 87 long bits = doubleToRawLongBits(d); 95 long bits = Double.doubleToRawLongBits(mag) & ~SIGN_MASK; 96 bits |= Double.doubleToRawLongBits(sgn) & SIGN_MASK; 113 long significand = doubleToRawLongBits(x) & SIGNIFICAND_MASK [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
DoubleBenchmark.java | 40 result = Double.doubleToRawLongBits(d); 53 throw new RuntimeException(Double.toString(result) + " " + Double.doubleToRawLongBits(result));
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
BaseDoubleEncodedValue.java | 45 long v = Double.doubleToRawLongBits(getValue()); 52 return Double.doubleToRawLongBits(getValue()) == 53 Double.doubleToRawLongBits(((DoubleEncodedValue)o).getValue());
|
/art/test/112-double-math/src/ |
Main.java | 25 if (Double.doubleToRawLongBits(result) == 0x3ff0000000000000L) {
|
/art/test/041-narrowing/src/ |
Main.java | 10 + Long.toHexString(Double.doubleToRawLongBits(Double.POSITIVE_INFINITY))); 12 + Long.toHexString(Double.doubleToRawLongBits(Double.NEGATIVE_INFINITY))); 14 + Long.toHexString(Double.doubleToRawLongBits(Float.POSITIVE_INFINITY))); 16 + Long.toHexString(Double.doubleToRawLongBits(Float.NEGATIVE_INFINITY))); 18 + Long.toHexString(Double.doubleToRawLongBits(Double.NaN))); 20 + Long.toHexString(Double.doubleToRawLongBits(Float.NaN)));
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/value/ |
DoubleEncodedValue.java | 55 * long v = Double.doubleToRawLongBits(getValue()); 59 * Note: This is slightly different than the definition of Double.hashCode(). This uses doubleToRawLongBits() 70 * getValue().doubleToRawLongBits() are equal.
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
DoubleMathBenchmark.java | 51 tmp += Double.doubleToRawLongBits(DoubleMath.log2(positiveDoubles[j])); 60 tmp += Double.doubleToRawLongBits(DoubleMath.factorial(factorials[j]));
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleTest.java | 46 return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y); 50 assertEquals(Double.doubleToRawLongBits(x), 51 Double.doubleToRawLongBits(y));
|
AtomicDoubleArrayTest.java | 48 return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y); 52 assertEquals(Double.doubleToRawLongBits(x), 53 Double.doubleToRawLongBits(y));
|
/libcore/luni/src/main/native/ |
java_lang_Double.cpp | 45 NATIVE_METHOD(Double, doubleToRawLongBits, "(D)J"),
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractHasher.java | 33 return putLong(Double.doubleToRawLongBits(d));
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 150 final long bits = Double.doubleToRawLongBits(x); 189 Double.doubleToRawLongBits(df) & 0xffffffffL << 32); 218 final long bits = Double.doubleToRawLongBits(x); 253 Double.doubleToRawLongBits(w) & 0xffffffffL << 32); 302 final long bits = Double.doubleToRawLongBits(x); 404 final long yBits = Double.doubleToRawLongBits(y); 405 final long xBits = Double.doubleToRawLongBits(x); 485 Double.doubleToRawLongBits(z) ^ (0x80000000L << 32)); 526 long bits = Double.doubleToRawLongBits(x); 543 long tBits = Double.doubleToRawLongBits(0.0) & 0x00000000ffffffffL [all...] |
Double.java | 172 * representation ({@code 0x7ff8000000000000L}) (compare to {@link #doubleToRawLongBits}). 178 return doubleToRawLongBits(value); 188 public static native long doubleToRawLongBits(double value); 380 long d1 = doubleToRawLongBits(double1); 381 long d2 = doubleToRawLongBits(double2);
|
Math.java | 60 return Double.longBitsToDouble(Double.doubleToRawLongBits(d) & 0x7fffffffffffffffL); 466 /* Double.doubleToRawLongBits(0.0d) == 0 */ 467 if (Double.doubleToRawLongBits(d1) != 0) { 544 /* 0x8000000000000000L == Double.doubleToRawLongBits(-0.0d) */ 545 if (Double.doubleToRawLongBits(d1) == 0x8000000000000000L) { [all...] |
/external/proguard/src/proguard/evaluation/value/ |
ParticularDoubleValue.java | 138 return Double.doubleToRawLongBits(this.value) == 139 Double.doubleToRawLongBits(other.value) ?
|
/libcore/luni/src/test/java/libcore/java/lang/ |
IntrinsicTest.java | 138 Double.doubleToRawLongBits(0.0); 139 Double.class.getMethod("doubleToRawLongBits", double.class).invoke(null, 0.0);
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Utils.java | 84 editor.putLong(PREFERENCES_LAT, Double.doubleToRawLongBits(location.latitude)); 85 editor.putLong(PREFERENCES_LNG, Double.doubleToRawLongBits(location.longitude));
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Utils.java | 84 editor.putLong(PREFERENCES_LAT, Double.doubleToRawLongBits(location.latitude)); 85 editor.putLong(PREFERENCES_LNG, Double.doubleToRawLongBits(location.longitude));
|
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/ |
Utils.java | 84 editor.putLong(PREFERENCES_LAT, Double.doubleToRawLongBits(location.latitude)); 85 editor.putLong(PREFERENCES_LNG, Double.doubleToRawLongBits(location.longitude));
|
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 136 assertEquals(0, Double.doubleToRawLongBits(doubles[0])); 137 assertEquals(0x0102030405060708L, Double.doubleToRawLongBits(doubles[1])); 138 assertEquals(0, Double.doubleToRawLongBits(doubles[2])); 140 assertEquals(0, Double.doubleToRawLongBits(doubles[0])); 141 assertEquals(0x0807060504030201L, Double.doubleToRawLongBits(doubles[1])); 142 assertEquals(0, Double.doubleToRawLongBits(doubles[2])); [all...] |
/libcore/luni/src/main/java/java/nio/ |
ByteArrayBuffer.java | 331 return putLong(Double.doubleToRawLongBits(value)); 335 return putLong(index, Double.doubleToRawLongBits(value));
|