HomeSort by relevance Sort by last modified time
    Searched defs:Double (Results 1 - 25 of 39) sorted by null

1 2

  /bionic/libm/bsdsrc/
mathimpl.h 47 * IEEE double variable to zero. It must be expression-like for syntactic
55 _b_trunc(volatile double *_dp)
63 struct Double {
64 double a;
65 double b;
71 double __exp__D(double, double);
72 struct Double __log__D(double);
    [all...]
  /dalvik/libcore/luni/src/main/native/
java_lang_Double.c 16 double d;
17 } Double;
22 * public static native long doubleToLongBits(double value)
26 Double d;
40 * public static native long doubleToRawLongBits(double value)
44 Double d;
52 * public static native double longBitsToDouble(long bits)
56 Double d;
74 return jniRegisterNativeMethods(env, "java/lang/Double",
  /external/gtest/samples/
sample3_unittest.cc 91 static int Double(int n) {
99 const Queue<int> * const new_q = q->Map(Double);
  /cts/tools/dx-tests/src/dxc/junit/opcodes/f2d/
Test_f2d.java 54 double r = 0x1.fffffeP+127d;
63 double r = 0x0.000002P-126d;
80 assertTrue(Double.isNaN(t.run(Float.NaN)));
88 assertTrue(Double.isInfinite(t.run(Float.POSITIVE_INFINITY)));
96 assertTrue(Double.isInfinite(t.run(Float.NEGATIVE_INFINITY)));
114 * @title type of argument - double
  /cts/tools/vm-tests/src/dot/junit/opcodes/float_to_double/
Test_float_to_double.java 51 * so this conversion of int to double makes no sense but shall not crash the VM.
67 double r = 0x1.fffffeP+127d;
76 double r = 0x0.000002P-126d;
93 assertTrue(Double.isNaN(t.run(Float.NaN)));
101 assertTrue(Double.isInfinite(t.run(Float.POSITIVE_INFINITY)));
109 assertTrue(Double.isInfinite(t.run(Float.NEGATIVE_INFINITY)));
116 * @title type of argument - double
  /dalvik/libcore/luni/src/main/java/java/lang/
AssertionError.java 109 * {@link String#valueOf(double)} with the specified double value.
114 public AssertionError(double detailMessage) {
115 this(Double.toString(detailMessage));
Double.java 21 * The wrapper for the primitive type {@code double}.
26 public final class Double extends Number implements Comparable<Double> {
33 private final double value;
36 * Constant for the maximum {@code double} value, (2 - 2<sup>-52</sup>) *
39 public static final double MAX_VALUE = 1.79769313486231570e+308;
42 * Constant for the minimum {@code double} value, 2<sup>-1074</sup>.
44 public static final double MIN_VALUE = 5e-324;
49 * Constant for the Not-a-Number (NaN) value of the {@code double} type.
51 public static final double NaN = 0.0 / 0.0
    [all...]
StringBuilder.java 175 * Appends the string representation of the specified {@code double} value.
176 * The {@code double} value is converted to a string according to the rule
177 * defined by {@link String#valueOf(double)}.
180 * the {@code double} value to append.
182 * @see String#valueOf(double)
184 public StringBuilder append(double d) {
185 append0(Double.toString(d));
466 * Inserts the string representation of the specified {@code double} value
467 * at the specified {@code offset}. The {@code double} value is converted
469 * {@link String#valueOf(double)}
    [all...]
  /frameworks/base/awt/java/awt/geom/
Point2D.java 73 public double getX() {
78 public double getY() {
96 public void setLocation(double x, double y) {
108 * The Class Double is the subclass of Point2D that has all of its data
109 * values stored with double-level precision.
113 public static class Double extends Point2D {
118 public double x;
123 public double y;
126 * Instantiates a new double-valued Point2D with its data set to zero
    [all...]
Ellipse2D.java 91 public double getX() {
96 public double getY() {
101 public double getWidth() {
106 public double getHeight() {
137 public void setFrame(double x, double y, double width, double height) {
150 * The Class Double is the subclass of Ellipse2D that has all of its data
151 * values stored with double-level precision
    [all...]
RoundRectangle2D.java 103 public double getX() {
108 public double getY() {
113 public double getWidth() {
118 public double getHeight() {
123 public double getArcWidth() {
128 public double getArcHeight() {
164 public void setRoundRect(double x, double y, double width, double height, double arcwidth
    [all...]
Line2D.java 102 public double getX1() {
107 public double getY1() {
112 public double getX2() {
117 public double getY2() {
132 public void setLine(double x1, double y1, double x2, double y2) {
179 * The Class Double is the subclass of Line2D that has all of its data
180 * values stored with double-level precision
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
FieldPacker.java 117 addI64(Double.doubleToRawLongBits(v));
  /frameworks/base/tests/CoreTests/android/core/
FloatDoubleTest.java 29 Double d = Double.valueOf(1.0);
99 double pz = 0.0;
100 double nz = -0.0;
102 double pzero = 1.0 / Double.POSITIVE_INFINITY;
103 double nzero = 1.0 / Double.NEGATIVE_INFINITY;
127 assertEquals(Double.valueOf(pz), Double.valueOf(pz))
    [all...]
MathTest.java 27 private final double HYP = Math.sqrt(2.0);
29 private final double OPP = 1.0;
31 private final double ADJ = 1.0;
36 public static void assertEquals(String message, double expected, double actual, double delta) {
53 * @tests java.lang.Math#abs(double)
57 // Test for method double java.lang.Math.abs(double)
59 assertTrue("Incorrect double abs value"
    [all...]
StrictMathTest.java 26 private final double HYP = StrictMath.sqrt(2.0);
28 private final double OPP = 1.0;
30 private final double ADJ = 1.0;
36 * @tests java.lang.StrictMath#abs(double)
40 // Test for method double java.lang.StrictMath.abs(double)
42 assertTrue("Incorrect double abs value",
44 assertTrue("Incorrect double abs value",
85 * @tests java.lang.StrictMath#acos(double)
89 // Test for method double java.lang.StrictMath.acos(double
    [all...]
  /external/easymock/src/org/easymock/internal/
MethodSerializationWrapper.java 38 primitiveTypes.put(Double.TYPE.getName(), Double.TYPE);
  /cts/tests/tests/database/src/android/database/cts/
MatrixCursorTest.java 286 mMatrixCursor.addRow(new Double[] { Double.MIN_VALUE, 0d, Double.MAX_VALUE });
309 assertEquals(Double.MIN_VALUE, mMatrixCursor.getDouble(COLUMN0_INDEX), 0.0d);
311 assertEquals(Double.MAX_VALUE, mMatrixCursor.getDouble(COLUMN2_INDEX), 0.0d);
313 assertEquals(Double.toString(Double.MIN_VALUE), mMatrixCursor.getString(COLUMN0_INDEX));
314 assertEquals(Double.toString(0d), mMatrixCursor.getString(COLUMN1_INDEX));
315 assertEquals(Double.toString(Double.MAX_VALUE), mMatrixCursor.getString(COLUMN2_INDEX))
    [all...]
  /dalvik/libcore/luni/src/main/java/java/io/
DataOutputStream.java 26 * 64-bit double, byte strings, and {@link DataInput MUTF-8} encoded strings.
214 * Writes a 64-bit double to the target stream. The resulting output is the
215 * eight bytes resulting from calling Double.doubleToLongBits().
218 * the double to write to the target stream.
223 public final void writeDouble(double val) throws IOException {
224 writeLong(Double.doubleToLongBits(val));
  /frameworks/base/awt/javax/imageio/stream/
ImageOutputStreamImpl.java 101 public void writeDouble(double v) throws IOException {
102 writeLong(Double.doubleToLongBits(v));
144 public void writeDoubles(double[] d, int off, int len) throws IOException {
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
MathTest.java 27 double HYP = Math.sqrt(2.0);
29 double OPP = 1.0;
31 double ADJ = 1.0;
36 public static void assertEquals(String message, double expected, double actual, double delta) {
51 * @tests java.lang.Math#abs(double)
57 args = {double.class}
60 // Test for method double java.lang.Math.abs(double)
    [all...]
StrictMathTest.java 28 double HYP = StrictMath.sqrt(2.0);
30 double OPP = 1.0;
32 double ADJ = 1.0;
38 * @tests java.lang.StrictMath#pow(double)
44 args = {double.class, double.class}
48 assertTrue(Double.longBitsToDouble(-4610068591539890326L) ==
50 assertTrue(Double.longBitsToDouble( 4601023824101950163L) ==
54 StrictMath.pow(Double.MAX_VALUE, 0.0));
56 StrictMath.pow(Double.MAX_VALUE, -0.0))
    [all...]
  /dalvik/libcore/json/src/test/java/org/json/
JSONArrayTest.java 188 array.put(Double.MIN_VALUE);
190 array.put(Double.MAX_VALUE);
197 assertEquals(Double.MIN_VALUE, array.get(0));
199 assertEquals(Double.MAX_VALUE, array.get(2));
201 assertEquals(Double.MIN_VALUE, array.getDouble(0));
203 assertEquals(Double.MAX_VALUE, array.getDouble(2));
213 assertEquals(Double.MIN_VALUE, array.opt(0));
214 assertEquals(Double.MIN_VALUE, array.optDouble(0));
223 other.put(Double.MIN_VALUE);
225 other.put(Double.MAX_VALUE)
    [all...]
  /dalvik/libcore/sql/src/test/java/tests/SQLite/
StmtTest.java 52 + " DoubleVal DOUBLE, " + " FloatVal FLOAT, "
419 * @tests {@link Stmt#bind(int, double)}
425 args = {int.class, double.class}
429 double input = 0.0;
430 double maxVal = Double.MAX_VALUE;
431 double minVal = Double.MIN_VALUE;
432 double negInf = Double.NEGATIVE_INFINITY
    [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...]

Completed in 579 milliseconds

1 2