Searched refs:Double (Results 1 - 25 of 341) sorted by relevance

1234567891011>>

/external/valgrind/main/VEX/priv/
H A Dhost_generic_maddf.h41 void h_generic_calc_MAddF64 ( /*OUT*/Double*, Double*, Double*,
42 Double* );
H A Dhost_generic_maddf.c36 /* This implementation relies on Double being more than twice as
80 Double d;
108 Double temp = (Double) *argX * (Double) *argY;
114 u.d = temp + (Double) *argZ;
131 h_generic_calc_MAddF64 ( /*OUT*/Double* res,
132 Double* argX, Double* argY, Double* arg
[all...]
/external/guava/guava-tests/test/com/google/common/primitives/
H A DDoubleArrayAsListTest.java44 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 DDoublesTest.java19 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/chromium_org/v8/test/cctest/
H A Dtest-double.cc44 CHECK_EQ(3512700564088504e-318, Double(ordered).value());
47 CHECK_EQ(5e-324, Double(min_double64).value());
50 CHECK_EQ(1.7976931348623157e308, Double(max_double64).value());
56 DiyFp diy_fp = Double(ordered).AsDiyFp();
62 diy_fp = Double(min_double64).AsDiyFp();
68 diy_fp = Double(max_double64).AsDiyFp();
76 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp();
82 diy_fp = Double(min_double64).AsNormalizedDiyFp();
88 diy_fp = Double(max_double64).AsNormalizedDiyFp();
97 CHECK(Double(min_double6
[all...]
/external/clang/test/SemaCXX/
H A Dmissing-namespace-qualifier-typo-corrections.cpp10 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::morebar()) Double(7); // expected-error{{use of undeclared identifier 'dummy'; did you mean 'fizbin::dummy'?}}
33 if (dummy::mrebar()) Double(
[all...]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstDouble.java29 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 DInexactComparisonCriteria.java14 if (expected instanceof Double)
15 Assert.assertEquals((Double)expected, (Double)actual, fDelta);
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
H A DScalableTimeout.java13 private static Double sTimeoutScale = null;
20 sTimeoutScale = Double.parseDouble(new String(data));
/external/guava/guava/src/com/google/common/math/
H A DDoubleUtils.java40 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/hamcrest/library/src/org/hamcrest/number/
H A DIsCloseTo.java15 public class IsCloseTo extends TypeSafeMatcher<Double> {
24 public boolean matchesSafely(Double item) {
36 public static Matcher<Double> closeTo(double operand, double error) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/
H A DBaseDoubleEncodedValue.java45 long v = Double.doubleToRawLongBits(getValue());
52 return Double.doubleToRawLongBits(getValue()) ==
53 Double.doubleToRawLongBits(((DoubleEncodedValue)o).getValue());
62 return Double.compare(getValue(), ((DoubleEncodedValue)o).getValue());
/external/smali/util/src/test/java/org/jf/util/
H A DNumberUtilsTest.java88 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
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A DNumberUtils.java42 private static final long canonicalDoubleNaN = Double.doubleToRawLongBits(Double.NaN);
43 private static final long maxDouble = Double.doubleToLongBits(Double.MAX_VALUE);
44 private static final long piDouble = Double.doubleToLongBits(Math.PI);
45 private static final long eDouble = Double.doubleToLongBits(Math.E);
102 // We don't check for Double.MIN_VALUE, which has a long representation of 1
116 double doubleValue = Double.longBitsToDouble(value);
117 if (Double.isNaN(doubleValue)) {
/external/clang/test/Sema/
H A Dcast.c23 typedef double Double; typedef
36 (void) (Double) v;
50 (void) (Double) v;
72 (void) (Double) v;
86 (void) (Double) v;
93 void testDouble(Double v) {
98 (void) (Double) v;
110 (void) (Double) v;
122 (void) (Double) v;
134 (void) (Double)
[all...]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Renderers/
H A DDoubleRenderer.java37 writer.write(Double.toString(val));
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
H A Ddouble.h42 class Double { class in namespace:WTF::double_conversion
51 Double() : d64_(0) {} function in class:WTF::double_conversion::Double
52 explicit Double(double d) : d64_(double_to_uint64(d)) {} function in class:WTF::double_conversion::Double
53 explicit Double(uint64_t d64) : d64_(d64) {} function in class:WTF::double_conversion::Double
54 explicit Double(DiyFp diy_fp) function in class:WTF::double_conversion::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...]
H A Dbignum-dtoa.cc43 while ((significand & Double::kHiddenBit) == 0) {
94 ASSERT(!Double(v).IsSpecial());
95 uint64_t significand = Double(v).Significand();
97 int exponent = Double(v).Exponent();
412 numerator->AssignUInt64(Double(v).Significand());
413 numerator->ShiftLeft(Double(v).Exponent());
425 delta_plus->ShiftLeft(Double(v).Exponent());
428 delta_minus->ShiftLeft(Double(v).Exponent());
435 uint64_t v_bits = Double(v).AsUint64();
436 if ((v_bits & Double
[all...]
/external/chromium_org/v8/src/
H A Dbignum-dtoa.cc21 while ((significand & Double::kHiddenBit) == 0) {
72 DCHECK(!Double(v).IsSpecial());
73 uint64_t significand = Double(v).Significand();
75 int exponent = Double(v).Exponent();
391 numerator->AssignUInt64(Double(v).Significand());
392 numerator->ShiftLeft(Double(v).Exponent());
404 delta_plus->ShiftLeft(Double(v).Exponent());
407 delta_minus->ShiftLeft(Double(v).Exponent());
414 uint64_t v_bits = Double(v).AsUint64();
415 if ((v_bits & Double
[all...]
H A Ddouble.h18 class Double { class in namespace:v8::internal
28 Double() : d64_(0) {} function in class:v8::internal::Double
29 explicit Double(double d) : d64_(double_to_uint64(d)) {} function in class:v8::internal::Double
30 explicit Double(uint64_t d64) : d64_(d64) {} function in class:v8::internal::Double
31 explicit Double(DiyFp diy_fp) function in class:v8::internal::Double
34 // The value encoded by this Double must be greater or equal to +0.0.
42 // The value encoded by this Double must be strictly greater than 0.
66 if (d64_ == kInfinity) return Double(kInfinity).value();
72 return Double(d64_ - 1).value();
74 return Double(d64
[all...]
/external/guava/guava/src/com/google/common/primitives/
H A DDoubles.java23 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 DMathTesting.java187 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/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DBatteryStatusManagerTest.java40 mBatteryStatusManager.verifyValues(false, Double.POSITIVE_INFINITY,
41 Double.POSITIVE_INFINITY, 0.1);
56 mBatteryStatusManager.verifyValues(true, Double.POSITIVE_INFINITY,
57 Double.POSITIVE_INFINITY, 0.5);
72 mBatteryStatusManager.verifyValues(true, Double.POSITIVE_INFINITY,
73 Double.POSITIVE_INFINITY, 0.5);
88 mBatteryStatusManager.verifyValues(true, 0, Double.POSITIVE_INFINITY, 1);
100 mBatteryStatusManager.verifyValues(true, 0, Double.POSITIVE_INFINITY, 1);
111 mBatteryStatusManager.verifyValues(true, 0, Double.POSITIVE_INFINITY, 1);
/external/lldb/tools/lldb-perf/lib/
H A DResults.h25 class Double;
37 Double, member in class:lldb_perf::Results::Result::Type
75 Double *
78 if (m_type == Type::Double)
79 return (Double *)this;
231 class Double : public Result class in class:lldb_perf::Results
234 Double (const char *name, const char *description, double value) : function in class:lldb_perf::Results::Double
235 Result (Type::Double, name, description),
241 ~Double()
/external/smack/src/org/xbill/DNS/
H A DGPOSRecord.java52 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());

Completed in 880 milliseconds

1234567891011>>