Searched refs:Double (Results 76 - 100 of 536) sorted by relevance

1234567891011>>

/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
H A DMicrosphereInterpolatingFunction.java58 private final Map<RealVector, Double> samples;
73 private Map.Entry<RealVector, Double> brightestSample;
105 final Map.Entry<RealVector, Double> sample) {
124 Map.Entry<RealVector, Double> sample() {
165 samples = new HashMap<RealVector, Double>(yval.length);
198 for (Map.Entry<RealVector, Double> sd : samples.entrySet()) {
222 final Map.Entry<RealVector, Double> sd = md.sample();
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DFastMath.java239 double d = Double.longBitsToDouble( (((long) i) << 42) | 0x3ff0000000000000L );
266 long xl = Double.doubleToLongBits(d);
268 return Double.longBitsToDouble(xl);
657 return nextAfter(a, Double.POSITIVE_INFINITY);
758 hiPrec[0] = Double.POSITIVE_INFINITY;
761 return Double.POSITIVE_INFINITY;
1192 //xs[0] = Double.longBitsToDouble(0x4005bf0800000000L);
1193 //xs[1] = Double.longBitsToDouble(0x3ed458a2bb4a9b00L);
1242 return Double.NEGATIVE_INFINITY;
1244 long bits = Double
[all...]
H A DMathUtils.java264 * Double.MAX_VALUE is 1029. If the computed value exceeds Double.MAX_VALUE,
265 * Double.POSITIVE_INFINITY is returned</li>
601 return (Double.isNaN(x) && Double.isNaN(y)) || x == y;
614 return (Double.isNaN(x) && Double.isNaN(y)) || equals(x, y, 1);
684 long xInt = Double.doubleToLongBits(x);
685 long yInt = Double.doubleToLongBits(y);
711 return (Double
[all...]
H A DCompositeFormat.java101 * include Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY.
122 ret = Double.valueOf(value);
133 * Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY.
150 Double.NaN, Double.POSITIVE_INFINITY, Double
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DPluralSamples.java38 private final Map<String, List<Double>> _keySamplesMap;
70 Map<String, List<Double>> sampleMap = new HashMap<String, List<Double>>();
123 sampleMap.put(k, Collections.<Double>emptyList());
132 for (Entry<String, List<Double>> entry : sampleMap.entrySet()) {
143 private int addSimpleSamples(PluralRules pluralRules, final int MAX_SAMPLES, Map<String, List<Double>> sampleMap,
148 List<Double> list = sampleMap.get(keyword);
150 list = new ArrayList<Double>(MAX_SAMPLES);
155 list.add(Double.valueOf(val));
256 public KeywordStatus getStatus(String keyword, int offset, Set<Double> explicit
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DBigNumberFormatTest.java184 new Number[] { new Double(12345.678901),
189 new Double(12345),
192 new Double(12345.00001),
208 new Double(12345.678901),
211 new Double(789.12345e-9),
214 new Double(780.e-9),
217 new Double(45678),
239 new Object[] { new Double(0.0000123), "12.3E-6",
240 new Double(0.000123), "123E-6",
241 new java.math.BigDecimal("0.00123"), "1.23E-3", // Cafe VM messes up Double(0.0012
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
H A DMultiStartUnivariateRealOptimizer.java181 * descending order if maximizing), followed by Double.NaN elements
207 * descending order if maximizing), followed by Double.NaN elements
249 optima[i] = Double.NaN;
250 optimaValues[i] = Double.NaN;
252 optima[i] = Double.NaN;
253 optimaValues[i] = Double.NaN;
264 if (Double.isNaN(optima[i])) {
266 optima[lastNaN + 1] = Double.NaN;
268 optimaValues[lastNaN + 1] = Double.NaN;
290 mIX = Double
[all...]
/external/valgrind/coregrind/
H A Dm_sbprofile.c94 Double percent_cumul =
96 Double percent_here =
133 Double percent_cumul =
135 Double percent_here =
168 Double percent_cumul =
170 Double percent_here =
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
H A DBitsStreamGenerator.java36 nextGaussian = Double.NaN;
99 if (Double.isNaN(nextGaussian)) {
110 nextGaussian = Double.NaN;
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DConstants.java52 } else if (value instanceof Double) {
53 return CstDouble.make(Double.doubleToLongBits((Double) value));
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAtomicDouble.java17 import static java.lang.Double.doubleToRawLongBits;
18 import static java.lang.Double.longBitsToDouble;
27 * and cannot be used as a replacement for a {@link Double}. However,
33 * bitwise representation using {@link Double#doubleToRawLongBits},
35 * and from {@link Double#equals}, as if implemented by:
38 * long xBits = Double.doubleToRawLongBits(x);
39 * long yBits = Double.doubleToRawLongBits(y);
199 return Double.toString(get());
/external/mockito/src/org/mockito/internal/util/
H A DPrimitives.java65 primitiveTypes.put(Double.class, Double.TYPE);
76 primitiveOrWrapperDefaultValues.put(Double.class, 0D);
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
H A DMethodItem.java53 return ((Double)getSortOrder()).compareTo(methodItem.getSortOrder());
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
H A DEventState.java103 t0 = Double.NaN;
104 g0 = Double.NaN;
107 pendingEventTime = Double.NaN;
108 previousEventTime = Double.NaN;
276 if ((!Double.isNaN(previousEventTime)) &&
282 } else if (Double.isNaN(previousEventTime) ||
303 pendingEventTime = Double.NaN;
319 return pendingEvent ? pendingEventTime : Double.POSITIVE_INFINITY;
375 pendingEventTime = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ranking/
H A DNaturalRanking.java43 * Input data: (20, 17, 30, 42.3, 17, 50, Double.NaN, Double.NEGATIVE_INFINITY, 17)
202 recodeNaNs(ranks, Double.POSITIVE_INFINITY);
205 recodeNaNs(ranks, Double.NEGATIVE_INFINITY);
228 if (Double.compare(ranks[i].getValue(), ranks[i - 1].getValue()) > 0) {
265 if (Double.isNaN(ranks[i].getValue())) {
290 if (Double.isNaN(ranks[i].getValue())) {
305 if (Double.isNaN(ranks[i].getValue())) {
381 * Set <code>ranks[i] = Double.NaN</code> for each i in <code>nanPositions.</code>
384 * @param nanPositions list of index values to set to <code>Double
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DVector3D.java60 public static final Vector3D NaN = new Vector3D(Double.NaN, Double.NaN, Double.NaN);
65 new Vector3D(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);
69 new Vector3D(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY);
381 return Double
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAtomicDoubleArrayTest.java26 Double.NEGATIVE_INFINITY,
27 -Double.MAX_VALUE,
32 -Double.MIN_VALUE,
35 Double.MIN_VALUE,
40 Double.MAX_VALUE,
41 Double.POSITIVE_INFINITY,
42 Double.NaN,
48 return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
52 assertEquals(Double
[all...]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DXYStepCalculator.java63 stepPix = new Double(stepValue).floatValue();
68 stepCount = new Double(stepValue).floatValue();
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DFourthMoment.java43 * Returns <code>Double.NaN</code> if no data values have been added and
66 m4 = Double.NaN;
117 m4 = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/summary/
H A DSumOfLogs.java31 * <code>Double.POSITIVE_INFINITY</code>, but at least one value is 0, the
32 * result is <code>Double.NEGATIVE_INFINITY.</code></li>
33 * <li>If both <code>Double.POSITIVE_INFINITY</code> and
34 * <code>Double.NEGATIVE_INFINITY</code> are among the values, the result is
93 return Double.NaN;
115 * the input array, or <code>Double.NaN</code> if the designated subarray
125 * @return the sum of the natural logs of the values or Double.NaN if
132 double sumLog = Double.NaN;
/external/apache-http/src/org/apache/http/params/
H A DAbstractHttpParams.java92 return ((Double)param).doubleValue();
96 setParameter(name, new Double(value));
/external/clang/test/SemaCXX/
H A Dpseudo-destructors.cpp8 typedef double Double; typedef
47 i->Integer::~Double(); // expected-error{{the type of object expression ('int') does not match the type being destroyed ('Double' (aka 'double')) in pseudo-destructor expression}}
/external/google-breakpad/src/testing/gtest/samples/
H A Dsample3_unittest.cc91 static int Double(int n) { function in class:QueueTest
99 const Queue<int> * const new_q = q->Map(Double);
/external/guava/guava-tests/benchmark/com/google/common/base/
H A DObjectsBenchmark.java37 private static final Double D0 = 9.234d;
38 private static final Double D1 = -1.2e55;
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DReentrantEventsTest.java34 static final Double SECOND = 2.0d;
64 public void listenForDoubles(Double event) {

Completed in 908 milliseconds

1234567891011>>