HomeSort by relevance Sort by last modified time
    Searched defs:Double (Results 26 - 50 of 70) sorted by null

12 3

  /external/v8/src/
double.h 37 inline uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); }
38 inline double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); }
41 class Double {
51 Double() : d64_(0) {}
52 explicit Double(double d) : d64_(double_to_uint64(d)) {}
53 explicit Double(uint64_t d64) : d64_(d64) {}
54 explicit Double(DiyFp diy_fp)
57 // The value encoded by this Double must be greater or equal to +0.0
    [all...]
type-info.h 49 // Double Integer32 | /
71 static TypeInfo Double() { return TypeInfo(kDouble); }
106 static inline bool IsInt32Double(double value) {
185 case kDouble: return "Double";
  /frameworks/base/core/java/android/util/
JsonWriter.java 108 * public void writeDoublesArray(JsonWriter writer, List<Double> doubles) throws IOException {
110 * for (Double value : doubles) {
181 * <li>Numbers may be {@link Double#isNaN() NaNs} or {@link
182 * Double#isInfinite() infinities}.
333 * @param value a finite value. May not be {@link Double#isNaN() NaNs} or
334 * {@link Double#isInfinite() infinities} unless this writer is lenient.
337 public JsonWriter value(double value) throws IOException {
338 if (!lenient && (Double.isNaN(value) || Double.isInfinite(value))) {
342 out.append(Double.toString(value))
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
FieldPacker.java 225 public void addF64(double v) {
226 addI64(Double.doubleToRawLongBits(v));
229 public double subF64() {
230 return Double.longBitsToDouble(subI64());
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
FieldPacker.java 202 public void addF64(double v) {
207 addI64(Double.doubleToRawLongBits(v));
  /libcore/json/src/test/java/org/json/
JSONArrayTest.java 200 array.put(Double.MIN_VALUE);
202 array.put(Double.MAX_VALUE);
209 assertEquals(Double.MIN_VALUE, array.get(0));
211 assertEquals(Double.MAX_VALUE, array.get(2));
213 assertEquals(Double.MIN_VALUE, array.getDouble(0));
215 assertEquals(Double.MAX_VALUE, array.getDouble(2));
225 assertEquals(Double.MIN_VALUE, array.opt(0));
226 assertEquals(Double.MIN_VALUE, array.optDouble(0));
235 other.put(Double.MIN_VALUE);
237 other.put(Double.MAX_VALUE)
    [all...]
  /libcore/luni/src/main/java/java/lang/
Double.java 21 * The wrapper for the primitive type {@code double}.
26 public final class Double extends Number implements Comparable<Double> {
42 private final double value;
45 * Constant for the maximum {@code double} value, (2 - 2<sup>-52</sup>) *
48 public static final double MAX_VALUE = 1.79769313486231570e+308;
51 * Constant for the minimum {@code double} value, 2<sup>-1074</sup>.
53 public static final double MIN_VALUE = 5e-324;
58 * Constant for the Not-a-Number (NaN) value of the {@code double} type.
60 public static final double NaN = 0.0 / 0.0
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidStrictMathTest.java 24 private final double HYP = StrictMath.sqrt(2.0);
26 private final double OPP = 1.0;
28 private final double ADJ = 1.0;
34 // Test for method double java.lang.StrictMath.abs(double)
36 assertTrue("Incorrect double abs value",
38 assertTrue("Incorrect double abs value",
67 // Test for method double java.lang.StrictMath.acos(double)
73 // Test for method double java.lang.StrictMath.asin(double
    [all...]
OldStringBufferTest.java 95 testBuffer.insert(-1, Double.MAX_VALUE);
102 testBuffer.insert(testBuffer.length() + 1, Double.MAX_VALUE);
  /libcore/luni/src/test/java/libcore/sqlite/
OldStmtTest.java 42 + " DoubleVal DOUBLE,"
271 double input = 0.0;
272 double maxVal = Double.MAX_VALUE;
273 double minVal = Double.MIN_VALUE;
274 double negInf = Double.NEGATIVE_INFINITY;
275 double posInf = Double.POSITIVE_INFINITY
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
MathTest.java 22 double HYP = Math.sqrt(2.0);
24 double OPP = 1.0;
26 double ADJ = 1.0;
32 * @tests java.lang.Math#abs(double)
35 // Test for method double java.lang.Math.abs(double)
37 assertTrue("Incorrect double abs value",
39 assertTrue("Incorrect double abs value",
75 * @tests java.lang.Math#acos(double)
78 // Test for method double java.lang.Math.acos(double
    [all...]
StrictMathTest.java 32 double HYP = StrictMath.sqrt(2.0);
34 double OPP = 1.0;
36 double ADJ = 1.0;
42 * @tests java.lang.StrictMath#abs(double)
45 // Test for method double java.lang.StrictMath.abs(double)
47 assertTrue("Incorrect double abs value",
49 assertTrue("Incorrect double abs value",
87 * @tests java.lang.StrictMath#acos(double)
90 // Test for method double java.lang.StrictMath.acos(double
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
DoublesTest.java 19 import static java.lang.Double.NaN;
44 private static final double[] EMPTY = {};
45 private static final double[] ARRAY1 = {(double) 1};
46 private static final double[] ARRAY234
47 = {(double) 2, (double) 3, (double) 4};
49 private static final double LEAST = Double.NEGATIVE_INFINITY
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicDoubleArrayTest.java 24 private static final double[] VALUES = {
25 Double.NEGATIVE_INFINITY,
26 -Double.MAX_VALUE,
27 (double) Long.MIN_VALUE,
28 (double) Integer.MIN_VALUE,
31 -Double.MIN_VALUE,
34 Double.MIN_VALUE,
37 (double) Integer.MAX_VALUE,
38 (double) Long.MAX_VALUE,
39 Double.MAX_VALUE
    [all...]
  /external/open-vcdiff/gtest/include/gtest/internal/
gtest-internal.h 59 // Due to C++ preprocessor weirdness, we need double indirection to
306 // (either single-precision or double-precision, depending on the
326 // For double, there are 11 exponent bits and 52 fraction bits.
333 // RawType: the raw floating-point type (either float or double)
370 // calculations are done with 80-bit precision, while double has 64
484 typedef FloatingPoint<double> Double;
    [all...]
  /external/protobuf/gtest/include/gtest/internal/
gtest-internal.h 59 // Due to C++ preprocessor weirdness, we need double indirection to
304 // (either single-precision or double-precision, depending on the
324 // For double, there are 11 exponent bits and 52 fraction bits.
331 // RawType: the raw floating-point type (either float or double)
368 // calculations are done with 80-bit precision, while double has 64
482 typedef FloatingPoint<double> Double;
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
GeneratedMessageTest.java 311 assertEquals(Double.POSITIVE_INFINITY, message.getInfDouble());
312 assertEquals(Double.NEGATIVE_INFINITY, message.getNegInfDouble());
313 assertTrue(Double.isNaN(message.getNanDouble()));
  /frameworks/base/core/tests/coretests/src/android/util/
JsonReaderTest.java 203 assertTrue(Double.isNaN(reader.nextDouble()));
204 assertEquals(Double.POSITIVE_INFINITY, reader.nextDouble());
205 assertEquals(Double.NEGATIVE_INFINITY, reader.nextDouble());
223 assertTrue(Double.isNaN(reader.nextDouble()));
230 assertEquals(Double.POSITIVE_INFINITY, reader.nextDouble());
237 assertEquals(Double.NEGATIVE_INFINITY, reader.nextDouble());
340 * This test fails because there's no double for 9223372036854775806, and
341 * our long parsing uses Double.parseDouble() for fractional values.
  /libcore/luni/src/main/java/java/io/
RandomAccessFile.java 350 * Reads a big-endian 64-bit double from the current position in this file. Blocks
354 * @return the next double value from this file.
359 * @see #writeDouble(double)
361 public final double readDouble() throws IOException {
362 return Double.longBitsToDouble(readLong());
790 * Writes a big-endian 64-bit double to this file, starting at the current file
792 * {@link Double#doubleToLongBits(double)}, meaning a canonical NaN is used.
795 * the double to write to this file.
800 public final void writeDouble(double val) throws IOException
    [all...]
  /external/chromium/testing/gtest/include/gtest/internal/
gtest-internal.h 59 // Due to C++ preprocessor weirdness, we need double indirection to
282 // (either single-precision or double-precision, depending on the
302 // For double, there are 11 exponent bits and 52 fraction bits.
309 // RawType: the raw floating-point type (either float or double)
346 // calculations are done with 80-bit precision, while double has 64
460 typedef FloatingPoint<double> Double;
    [all...]
  /external/clang/test/SemaCXX/
constant-expression-cxx11.cpp 168 typedef double (*DoubleFn)();
238 constexpr int Double(int n) { return 2 * n; }
241 constexpr int Quadruple(int n) { return Twice(Double, n); }
243 return n == 2 ? &Double : n == 3 ? &Triple : n == 4 ? &Quadruple : 0;
600 double d;
629 double d;
    [all...]
  /external/gtest/include/gtest/internal/
gtest-internal.h 59 // Due to C++ preprocessor weirdness, we need double indirection to
288 // (either single-precision or double-precision, depending on the
308 // For double, there are 11 exponent bits and 52 fraction bits.
315 // RawType: the raw floating-point type (either float or double)
352 // calculations are done with 80-bit precision, while double has 64
466 typedef FloatingPoint<double> Double;
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
VertexBuffer.java 249 * Double precision floating point.
253 Double(8),
870 case Double:
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
gtest-internal.h 59 // Due to C++ preprocessor weirdness, we need double indirection to
288 // (either single-precision or double-precision, depending on the
308 // For double, there are 11 exponent bits and 52 fraction bits.
315 // RawType: the raw floating-point type (either float or double)
352 // calculations are done with 80-bit precision, while double has 64
466 typedef FloatingPoint<double> Double;
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-internal.h 63 // Due to C++ preprocessor weirdness, we need double indirection to
316 // (either single-precision or double-precision, depending on the
336 // For double, there are 11 exponent bits and 52 fraction bits.
343 // RawType: the raw floating-point type (either float or double)
380 // calculations are done with 80-bit precision, while double has 64
494 typedef FloatingPoint<double> Double;
    [all...]

Completed in 1360 milliseconds

12 3