/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...] |
/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...] |
OldDatabaseTest.java | 526 assertTrue(db.complete("create table TEST (res double);")); 556 double input = 1.0; 557 db.exec("create table TEST (res double)", null); 558 db.exec("insert into TEST values (" + Double.toString(input) + ")", 564 + Double.toString(input), res); 567 double sinusVal = Double.parseDouble(val); 568 double funcVal = Math.sin(input); 612 double input = 1.0; 617 db.exec("create table TEST (res double)", null) [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/gtest/include/gtest/internal/ |
gtest-internal.h | 59 // Due to C++ preprocessor weirdness, we need double indirection to 309 // (either single-precision or double-precision, depending on the 329 // For double, there are 11 exponent bits and 52 fraction bits. 336 // RawType: the raw floating-point type (either float or double) 373 // calculations are done with 80-bit precision, while double has 64 483 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...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
GpxParser.java | 157 Double.parseDouble(mStringAccumulator.toString())); 160 Double.parseDouble(mStringAccumulator.toString())); 203 milliseconds = (int)(1000 * Double.parseDouble(subSecondGroup)); 236 double longitude = Double.parseDouble(attributes.getValue(ATTR_LONGITUDE)); 237 double latitude = Double.parseDouble(attributes.getValue(ATTR_LATITUDE));
|
/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/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-internal.h | 61 // Due to C++ preprocessor weirdness, we need double indirection to 308 // (either single-precision or double-precision, depending on the 328 // For double, there are 11 exponent bits and 52 fraction bits. 335 // RawType: the raw floating-point type (either float or double) 372 // calculations are done with 80-bit precision, while double has 64 486 typedef FloatingPoint<double> Double; [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedOutputStream.java | 133 /** Write a {@code double} field, including tag, to the stream. */ 134 public void writeDouble(final int fieldNumber, final double value) 304 /** Write a {@code double} field to the stream. */ 305 public void writeDoubleNoTag(final double value) throws IOException { 306 writeRawLittleEndian64(Double.doubleToRawLongBits(value)); 426 * {@code double} field, including tag. 429 final double value) { 621 * {@code double} field, including tag. 623 public static int computeDoubleSizeNoTag(final double value) { [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
CodedOutputStreamMicro.java | 119 /** Write a {@code double} field, including tag, to the stream. */ 120 public void writeDouble(final int fieldNumber, final double value) 285 /** Write a {@code double} field to the stream. */ 286 public void writeDoubleNoTag(final double value) throws IOException { 287 writeRawLittleEndian64(Double.doubleToLongBits(value)); 401 * {@code double} field, including tag. 404 final double value) { 591 * {@code double} field, including tag. 593 public static int computeDoubleSizeNoTag(final double value) { [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DecimalFormatTest.java | 71 assertTrue(number instanceof Double); 73 // Test parsed object of type double when 78 assertTrue(number instanceof Double); 106 assertTrue(number instanceof Double); 108 // Even if parseIntegerOnly is set to true, NaN will be parsed to Double 114 assertTrue(number instanceof Double); 117 // parsed to Double 123 assertTrue(number instanceof Double); 144 // they are of type Double) 149 assertTrue(number instanceof Double); [all...] |
/external/clang/include/clang/Basic/ |
TargetInfo.h | 124 Double, 239 /// getDoubleWidth/Align/Format - Return the size/align/format of 'double'. 245 /// double'.
|
/external/opencv/cvaux/include/ |
cvvidsurv.hpp | 67 double* pDouble; 68 double Double; 156 void AddParam(const char* name, double* pAddr) 182 p->pDouble = &p->Double; 226 double GetParam(const char* name) 243 void SetParam(const char* name, double val) 268 /* Convert to double and set: */ 306 double val = pM->GetParam(N); 809 virtual double GetConfidence(int /*BlobIndex*/, CvBlob* /*pBlob*/, IplImage* /*pImg*/, IplImage* /*pImgFG*/ = NU (…) [all...] |
/external/llvm/bindings/ocaml/llvm/ |
llvm.ml | 24 | Double [all...] |
/external/v8/src/ |
hydrogen-instructions.h | 270 static Representation Double() { return Representation(kDouble); } [all...] |
/prebuilt/sdk/10/ |
android.jar | |