/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | ConcurrentModTest.java | 36 Double one = new Double(1.0); 37 Double two = new Double(2.0); 38 Double three = new Double(3.0); 39 Double four = new Double(4.0); 47 assertTrue(((Double) sub.get(1)).doubleValue() <= 3.0); 48 assertTrue(((Double) su [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
H A D | DoubleArrayAsListTest.java | 44 private static List<Double> asList(Double[] values) { 53 List<ListTestSuiteBuilder<Double>> builders = 69 for (ListTestSuiteBuilder<Double> builder : builders) { 85 @Override protected List<Double> create(Double[] elements) { 91 @Override protected List<Double> create(Double[] elements) { 92 Double[] suffix = {Double [all...] |
H A D | DoublesTest.java | 19 import static java.lang.Double.NaN; 49 private static final double LEAST = Double.NEGATIVE_INFINITY; 50 private static final double GREATEST = Double.POSITIVE_INFINITY; 53 LEAST, -Double.MAX_VALUE, -1.0, -0.0, 0.0, 1.0, Double.MAX_VALUE, GREATEST, 54 Double.MIN_NORMAL, -Double.MIN_NORMAL, Double.MIN_VALUE, -Double.MIN_VALUE, 63 assertEquals(((Double) valu [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
H A D | DoubleTest.java | 190 result = Double.parseDouble(originalDoubleString); 191 rawBits = Double.doubleToLongBits(result); 192 convertedString = new Double(result).toString(); 199 assertEquals(answer, Double.toString(dd)); 200 Double d = new Double(dd); 201 assertEquals(answer, Double.toString(d.doubleValue())); 206 * @tests java.lang.Double#Double(double) 209 Double [all...] |
H A D | MathTest.java | 80 long lr = Double.doubleToLongBits(r); 81 long t = Double.doubleToLongBits(ADJ / HYP); 92 long lr = Double.doubleToLongBits(r); 93 long t = Double.doubleToLongBits(OPP / HYP); 123 assertTrue("Should return Double.NaN", Double.isNaN(Math 124 .cbrt(Double.NaN))); 125 assertEquals("Should return Double.POSITIVE_INFINITY", 126 Double.POSITIVE_INFINITY, Math 127 .cbrt(Double [all...] |
H A D | StrictMathTest.java | 130 assertTrue("Should return Double.NaN", Double.isNaN(StrictMath 131 .cbrt(Double.NaN))); 132 assertEquals("Should return Double.POSITIVE_INFINITY", 133 Double.POSITIVE_INFINITY, StrictMath 134 .cbrt(Double.POSITIVE_INFINITY)); 135 assertEquals("Should return Double.NEGATIVE_INFINITY", 136 Double.NEGATIVE_INFINITY, StrictMath 137 .cbrt(Double.NEGATIVE_INFINITY)); 138 assertEquals(Double [all...] |
/external/v8/test/cctest/ |
H A D | test-double.cc | 19 CHECK_EQ(3512700564088504e-318, Double(ordered).value()); 22 CHECK_EQ(5e-324, Double(min_double64).value()); 25 CHECK_EQ(1.7976931348623157e308, Double(max_double64).value()); 30 DiyFp diy_fp = Double(ordered).AsDiyFp(); 36 diy_fp = Double(min_double64).AsDiyFp(); 42 diy_fp = Double(max_double64).AsDiyFp(); 50 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp(); 56 diy_fp = Double(min_double64).AsNormalizedDiyFp(); 62 diy_fp = Double(max_double64).AsNormalizedDiyFp(); 71 CHECK(Double(min_double6 [all...] |
/external/clang/test/SemaCXX/ |
H A D | missing-namespace-qualifier-typo-corrections.cpp | 10 int Double(int x) { return x + x; } function 12 Double(toFoobar()); // expected-error{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}} 26 if (toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}} 27 if (noFoobar()) Double(7); // expected-error{{use of undeclared identifier 'noFoobar'; did you mean 'barstool::toFoobar'?}} 28 if (moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'moreFoobar'; did you mean 'fizbin::nested::moreFoobar'}} 29 if (lessFoobar()) Double(7); // expected-error{{use of undeclared identifier 'lessFoobar'; did you mean 'fizbin::nested::lessFoobar'?}} 30 if (baztool::toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'baztool'; did you mean 'fizbin::baztool'?}} 31 if (nested::moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'nested'; did you mean 'fizbin::nested'?}} 32 if (dummy::moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'dummy'; did you mean 'fizbin::dummy'?}} 33 if (dummy::mreFoobar()) Double( [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
H A D | CstDouble.java | 29 new CstDouble(Double.doubleToLongBits(0.0)); 33 new CstDouble(Double.doubleToLongBits(1.0)); 63 Double.longBitsToDouble(bits) + '}'; 79 return Double.toString(Double.longBitsToDouble(getLongBits())); 88 return Double.longBitsToDouble(getLongBits());
|
/external/junit/src/org/junit/internal/ |
H A D | InexactComparisonCriteria.java | 14 if (expected instanceof Double) 15 Assert.assertEquals((Double)expected, (Double)actual, fDelta);
|
/external/guava/guava/src/com/google/common/math/ |
H A D | DoubleUtils.java | 40 return up ? Double.MIN_VALUE : -Double.MIN_VALUE; 42 long bits = Double.doubleToRawLongBits(x); 48 return Double.longBitsToDouble(bits); 52 // Double#doubleToRawLongBits(double)} spec. 56 // Double#doubleToRawLongBits(double)} spec. 60 // Double#doubleToRawLongBits(double)} spec. 79 long bits = Double.doubleToRawLongBits(d); 100 long bits = Double.doubleToRawLongBits(d); 103 return Double [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
H A D | DoubleSerializer.java | 40 * Double serializer. 47 public Double readObject(ByteBuffer data, Class c) throws IOException { 52 buffer.putDouble((Double)object);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
H A D | DoubleEncodedValue.java | 47 value = Double.longBitsToDouble(longValue); 60 byte[] bytes = EncodedValueUtils.encodeRightZeroExtendedValue(Double.doubleToRawLongBits(value)); 74 Double.doubleToRawLongBits(value)); 81 return Double.compare(value, other.value); 91 return (int)Double.doubleToRawLongBits(value);
|
/external/clang/test/Sema/ |
H A D | cast.c | 23 typedef double Double; typedef 36 (void) (Double) v; 50 (void) (Double) v; 64 (void) (Double) v; 78 (void) (Double) v; 85 void testDouble(Double v) { 90 (void) (Double) v; 102 (void) (Double) v; 114 (void) (Double) v; 126 (void) (Double) [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Renderers/ |
H A D | DoubleRenderer.java | 37 writer.write(Double.toString(val));
|
/external/v8/src/ |
H A D | bignum-dtoa.cc | 44 while ((significand & Double::kHiddenBit) == 0) { 95 ASSERT(!Double(v).IsSpecial()); 96 uint64_t significand = Double(v).Significand(); 98 int exponent = Double(v).Exponent(); 413 numerator->AssignUInt64(Double(v).Significand()); 414 numerator->ShiftLeft(Double(v).Exponent()); 426 delta_plus->ShiftLeft(Double(v).Exponent()); 429 delta_minus->ShiftLeft(Double(v).Exponent()); 436 uint64_t v_bits = Double(v).AsUint64(); 437 if ((v_bits & Double [all...] |
H A D | double.h | 41 class Double { class in namespace:v8::internal 51 Double() : d64_(0) {} function in class:v8::internal::Double 52 explicit Double(double d) : d64_(double_to_uint64(d)) {} function in class:v8::internal::Double 53 explicit Double(uint64_t d64) : d64_(d64) {} function in class:v8::internal::Double 54 explicit Double(DiyFp diy_fp) function in class:v8::internal::Double 57 // The value encoded by this Double must be greater or equal to +0.0. 65 // The value encoded by this Double must be strictly greater than 0. 89 if (d64_ == kInfinity) return Double(kInfinity).value(); 95 return Double(d64_ - 1).value(); 97 return Double(d64 [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
H A D | Doubles.java | 23 import static java.lang.Double.NEGATIVE_INFINITY; 24 import static java.lang.Double.POSITIVE_INFINITY; 39 * already found in either {@link Double} or {@link Arrays}. 54 public static final int BYTES = Double.SIZE / Byte.SIZE; 58 * {@code ((Double) value).hashCode()}. 64 return ((Double) value).hashCode(); 66 // long bits = Double.doubleToLongBits(value); 72 * returned is the same as that of <code>((Double) a).{@linkplain 73 * Double#compareTo compareTo}(b)</code>. As with that method, {@code NaN} is 82 return Double [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
H A D | MathTesting.java | 187 Double.MAX_EXPONENT - 1, Double.MAX_EXPONENT, Double.MAX_EXPONENT + 1)) { 203 static final ImmutableSet<Double> INTEGRAL_DOUBLE_CANDIDATES; 204 static final ImmutableSet<Double> FRACTIONAL_DOUBLE_CANDIDATES; 205 static final Iterable<Double> FINITE_DOUBLE_CANDIDATES; 206 static final Iterable<Double> POSITIVE_FINITE_DOUBLE_CANDIDATES; 207 static final Iterable<Double> ALL_DOUBLE_CANDIDATES; 209 ImmutableSet.Builder<Double> integralBuilder = ImmutableSet.builder(); 210 ImmutableSet.Builder<Double> fractionalBuilde [all...] |
/external/smack/src/org/xbill/DNS/ |
H A D | GPOSRecord.java | 52 this.longitude = Double.toString(longitude).getBytes(); 53 this.latitude = Double.toString(latitude).getBytes(); 54 this.altitude = Double.toString(altitude).getBytes(); 136 return Double.parseDouble(getLongitudeString()); 152 return Double.parseDouble(getLatitudeString()); 168 return Double.parseDouble(getAltitudeString());
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
H A D | DoubleMemberValue.java | 24 * Double floating-point number constant value. 63 return new Double(getValue()); 88 return Double.toString(getValue());
|
/external/objenesis/main/src/org/objenesis/ |
H A D | ObjenesisException.java | 29 private static final boolean jdk14 = (Double.parseDouble(System
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
H A D | DoubleObjectPropertyEditor.java | 21 * The {@link PropertyEditor} for {@link Double}. 48 if (value instanceof Double) { 78 Double value; 80 value = Double.valueOf(text);
|
H A D | DoublePropertyEditor.java | 47 return Double.toString(doubleValue); 70 Double value; 72 value = Double.valueOf(text);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | AtomicDoubleTest.java | 24 Double.NEGATIVE_INFINITY, 25 -Double.MAX_VALUE, 30 -Double.MIN_VALUE, 33 Double.MIN_VALUE, 38 Double.MAX_VALUE, 39 Double.POSITIVE_INFINITY, 40 Double.NaN, 46 return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y); 50 assertEquals(Double [all...] |