HomeSort by relevance Sort by last modified time
    Searched refs:Double (Results 101 - 125 of 685) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/base/media/java/android/media/
ExifInterface.java 156 * Returns the double value of the specified rational tag. If there is no
157 * such tag in the JPEG file or the value cannot be parsed as double, return
163 public double getAttributeDouble(String tag, double defaultValue) {
169 double denom = Double.parseDouble(value.substring(index + 1));
171 double num = Double.parseDouble(value.substring(0, index));
337 public double getAltitude(double defaultValue)
    [all...]
  /libcore/luni/src/main/java/java/lang/
RealToString.java 29 private static final double invLogOfTenBaseTwo = Math.log(2.0) / Math.log(10.0);
58 public String doubleToString(double d) {
62 public void appendDouble(AbstractStringBuilder sb, double d) {
66 private String convertDouble(AbstractStringBuilder sb, double inputNumber) {
67 long inputNumberBits = Double.doubleToRawLongBits(inputNumber);
68 boolean positive = (inputNumberBits & Double.SIGN_MASK) == 0;
69 int e = (int) ((inputNumberBits & Double.EXPONENT_MASK) >> Double.MANTISSA_BITS);
70 long f = inputNumberBits & Double.MANTISSA_MASK;
84 // special case to increase precision even though 2 * Double.MIN_VALUE is 1.0e-32
    [all...]
  /ndk/sources/third_party/googletest/googletest/samples/
sample3_unittest.cc 91 static int Double(int n) {
99 const Queue<int> * const new_q = q->Map(Double);
  /bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
b_tgamma.c 82 static double neg_gam(double);
83 static double small_gam(double);
84 static double smaller_gam(double);
85 static struct Double large_gam(double);
86 static struct Double ratfun_gam(double, double)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/prefs/
OldAbstractPreferencesTest.java 109 pref.putDouble("DoubleValue", new Double(9.10938188e-31));
137 pref.putDouble(keyArray[1], new Double(9.10938188e-31));
233 pref.putDouble("DoubleValue", new Double(9.10938188e-31));
299 pref.putDouble("DoubleValue", new Double(9.10938188e-31));
365 pref.putDouble("DoubleValue", new Double(9.10938188e-31));
429 pref.putDouble("DoubleValue", new Double(9.10938188e-31));
457 pref.putDouble("DoubleValue", new Double(9.10938188e-31));
460 assertEquals(new Double(9.10938188e-31), pref.getDouble("DoubleValue", new Double(2.14)));
463 pref.putDouble(null, new Double(0.1))
    [all...]
  /art/test/082-inline-execute/src/
Main.java 316 Assert.assertEquals(Double.doubleToRawLongBits(-1.0), 0xbff0000000000000L);
317 Assert.assertEquals(Double.doubleToRawLongBits(0.0), 0x0000000000000000L);
318 Assert.assertEquals(Double.doubleToRawLongBits(1.0), 0x3ff0000000000000L);
319 Assert.assertEquals(Double.doubleToRawLongBits(Double.NaN), 0x7ff8000000000000L);
320 Assert.assertEquals(Double.doubleToRawLongBits(Double.POSITIVE_INFINITY), 0x7ff0000000000000L);
321 Assert.assertEquals(Double.doubleToRawLongBits(Double.NEGATIVE_INFINITY), 0xfff0000000000000L);
325 Assert.assertEquals(Double.longBitsToDouble(0xbff0000000000000L), -1.0)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableClassToInstanceMapTest.java 84 in.put(Double.class, Math.PI);
91 Double pi = map.getInstance(Double.class);
123 = ImmutableMap.of(Number.class, 0, Double.class, Math.PI);
130 Double pi = map.getInstance(Double.class);
166 Maps.immutableEntry((Class) Double.class, (Number) 2.0);
  /external/apache-xml/src/main/java/org/apache/xalan/transformer/
NodeSorter.java 136 double n1Num, n2Num;
140 n1Num = ((Double) n1.m_key1Value).doubleValue();
141 n2Num = ((Double) n2.m_key1Value).doubleValue();
145 n1Num = ((Double) n1.m_key2Value).doubleValue();
146 n2Num = ((Double) n2.m_key2Value).doubleValue();
152 double n1Num = (double)n1.m_keyValue[kIndex];
153 double n2Num = (double)n2.m_keyValue[kIndex];
167 //n1Num = Double.isNaN(d) ? 0.0 : d
    [all...]
  /art/test/044-proxy/src/
ReturnsAndArgPassing.java 45 double doubleFoo();
46 double doubleBar();
47 Object selectArg(int select, int a, long b, float c, double d, Object x);
173 myHandler.returnType = Double.class;
174 check(proxyMyInterface.doubleFoo() == Double.MAX_VALUE);
178 check(proxyMyInterface.doubleBar() == Double.MIN_VALUE);
316 myHandler.returnType = Double.class; // Double -> byte == fail
446 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == 0);
448 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == Integer.MAX_VALUE)
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/
Test_float_to_double.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)));
103 * @title type of argument - double
  /frameworks/base/core/tests/coretests/src/android/util/
JsonWriterTest.java 133 jsonWriter.value(Double.NaN);
138 jsonWriter.value(Double.NEGATIVE_INFINITY);
143 jsonWriter.value(Double.POSITIVE_INFINITY);
154 jsonWriter.value(new Double(Double.NaN));
159 jsonWriter.value(new Double(Double.NEGATIVE_INFINITY));
164 jsonWriter.value(new Double(Double.POSITIVE_INFINITY));
176 jsonWriter.value(Double.MAX_VALUE)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
EnumMapTest.java 103 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class);
109 EnumMap enumEmptyMap = new EnumMap<Empty, Double>(Empty.class);
156 enumColorMap = new EnumMap<Color, Double>(Color.class);
157 Double double1 = new Double(1);
189 enumColorMap = new EnumMap<Color, Double>(Color.class);
297 Double double1 = new Double(3);
298 Double double2 = new Double(3)
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
EnumMapTest.java 105 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class);
111 EnumMap enumEmptyMap = new EnumMap<Empty, Double>(Empty.class);
158 enumColorMap = new EnumMap<Color, Double>(Color.class);
159 Double double1 = new Double(1);
191 enumColorMap = new EnumMap<Color, Double>(Color.class);
299 Double double1 = new Double(3);
300 Double double2 = new Double(3)
    [all...]
  /external/chromium_org/crypto/
ghash.h 61 // Double returns 2*|x|.
62 static FieldElement Double(const FieldElement& x);
  /external/chromium_org/ui/keyboard/resources/layouts/
symbol-altkeys.js 28 '\u2021'], // Double dagger
30 '"': ['\u201C', // Left double quote
31 '\u201D', // Right double quote
32 '\u201E', // Double low-9 quotation mark
33 '\u00AB', // Left double angle quote
34 '\u00BB'], // Right double angle quote
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
DimResultsElement.java 122 return new Double(count);
125 return new Double(buildResults.getValue(this.dim.getId()));
127 return new Double(buildResults.getDeviation(this.dim.getId()));
129 return new Double(buildResults.getError(this.dim.getId()));
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
CONSTANT_Double_info.java 19 * numeric (long and double) constants.<P>
22 * the double value in IEEE 754 floating-point "double format" bit layout.
33 public double m_value;
36 public CONSTANT_Double_info (final double value)
55 return Double.toString (m_value);
  /external/guava/guava/src/com/google/common/hash/
AbstractHasher.java 22 * An abstract hasher, implementing {@link #putBoolean(boolean)}, {@link #putDouble(double)},
33 @Override public final Hasher putDouble(double d) {
34 return putLong(Double.doubleToRawLongBits(d));
  /external/jsr305/ri/src/main/java/javax/annotation/
Nonnegative.java 27 else if (value instanceof Double)
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLocation.java 20 private double latitude;
21 private double longitude;
24 private double altitude;
33 private double mLat1 = 0.0;
34 private double mLon1 = 0.0;
35 private double mLat2 = 0.0;
36 private double mLon2 = 0.0;
113 public double getAltitude() {
118 public void setAltitude(double altitude) {
158 public double getLatitude()
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldListIteratorTest.java 60 if(o.getClass() == Double.class) throw new ClassCastException();
94 if(o.getClass() == Double.class) throw new ClassCastException();
204 ml.set(new Double("3.14"));
231 ml.add(new Double("3.14"));
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorTestOperations/
VerifyJitteringOperation.java 75 ArrayList<Double> jitterValues = new ArrayList<Double>();
76 double jitterMean = SensorCtsHelper.getJitterMean(events, jitterValues);
77 double percentile95InNs = SensorCtsHelper.get95PercentileValue(jitterValues);
80 for(double jitter : jitterValues) {
83 double actualPercentValue = (percentile95InNs * 100) / jitterMean;
  /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
strtod.cc 36 #include "double.h"
43 // Any integer with at most 15 decimal digits will hence fit into a double
49 // Max double: 1.7976931348623157 x 10^308
50 // Min non-zero double: 4.9406564584124654 x 10^-324
53 // Note that 2.5e-324 (despite being smaller than the min double) will be read
54 // as non-zero (equal to the min non-zero double).
62 static const double exact_powers_of_ten[] = {
178 double* result) {
181 // 80 bits wide (as is the case on Linux) then double-rounding occurs and the
190 // The trimmed input fits into a double
    [all...]
  /external/clang/test/Sema/
overloadable.c 10 double *f(double) __attribute__((overloadable)); // okay, new
12 void test_f(int iv, float fv, double dv) {
15 double *dp = f(dv);
20 float *accept_funcptr(int (*)(int, double)) __attribute__((overloadable)); // \
23 void test_funcptr(int (*f1)(int, double),
39 double *f(int) __attribute__((overloadable)); // expected-error{{conflicting types for 'f'}}
41 double promote(float) __attribute__((__overloadable__)); // expected-note {{candidate}}
42 double promote(double) __attribute__((__overloadable__)); // expected-note {{candidate}
    [all...]
  /external/easymock/src/org/easymock/internal/
MethodSerializationWrapper.java 38 primitiveTypes.put(Double.TYPE.getName(), Double.TYPE);

Completed in 5741 milliseconds

1 2 3 45 6 7 8 91011>>