Searched refs:NaN (Results 151 - 175 of 258) sorted by relevance

1234567891011

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DAbstractContinuousDistribution.java100 double ret = Double.NaN;
H A DAbstractIntegerDistribution.java256 * Computes the cumulative probability function and checks for NaN values returned.
257 * Throws MathException if the value is NaN. Rethrows any MathException encountered
259 * MathException if the cumulative probability function returns NaN.
263 * @throws MathException if the cumulative probability is NaN
266 double result = Double.NaN;
H A DSaddlePointExpansion.java151 double s = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DVector3D.java59 /** A vector with all coordinates set to NaN. */
60 public static final Vector3D NaN = new Vector3D(Double.NaN, Double.NaN, Double.NaN); field in class:Vector3D
377 * Returns true if any coordinate of this vector is NaN; false otherwise
378 * @return true if any coordinate of this vector is NaN; false otherwise
385 * Returns true if any coordinate of this vector is infinite and none are NaN;
387 * @return true if any coordinate of this vector is infinite and none are NaN;
398 * <code>Double.NaN</cod
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
H A DCombinedEventsManager.java185 * evaluated step, or </code>Double.NaN</code> if no event is
189 return (first == null) ? Double.NaN : first.getEventTime();
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
H A DMultiDirectional.java135 simplex[i] = new RealPointValuePair(xTransformed, Double.NaN, false);
H A DDirectSearchOptimizer.java365 simplex[0] = new RealPointValuePair(startPoint, Double.NaN);
374 simplex[i + 1] = new RealPointValuePair(vertexI, Double.NaN);
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
H A DAbstractUnivariateRealOptimizer.java229 functionValue = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DTransformerMap.java133 * NumberTransformers. Otherwise it returns Double.NaN.
141 double value = Double.NaN;
H A DFastMath.java200 /** 2^52 - double numbers this large must be integral (no fraction) or NaN or Infinite */
637 * @return -1.0, -0.0, +0.0, +1.0 or NaN depending on sign of a
640 return (a < 0.0) ? -1.0 : ((a > 0.0) ? 1.0 : a); // return +0.0/-0.0/NaN depending on a
646 * @return -1.0, -0.0, +0.0, +1.0 or NaN depending on sign of a
649 return (a < 0.0f) ? -1.0f : ((a > 0.0f) ? 1.0f : a); // return +0.0/-0.0/NaN depending on a
838 if (x != x || x == 0.0) { // NaN or zero
1246 /* Handle special cases of negative input, and NaN */
1250 hiPrec[0] = Double.NaN;
1253 return Double.NaN;
1482 if (Double.isInfinite(lores)){ // don't allow this to be converted to NaN
[all...]
/external/compiler-rt/lib/builtins/
H A Dfp_trunc_impl.inc95 // a is NaN.
97 // bit and inserting the (truncated) trailing NaN field.
/external/skia/src/animator/
H A DSkAnimatorScript.h60 static bool NaN(const char* token, size_t len, void* callBack, SkScriptValue* );
/external/v8/test/mjsunit/harmony/
H A Ddataview-accessors.js232 start, NaN);
235 start, -NaN);
248 start, NaN);
251 start, -NaN);
/external/v8/test/mjsunit/
H A Dparse-int-float.js44 assertEquals(0x12, parseInt('0x12', NaN));
H A Dtoint32.js34 assertEquals(0, toInt32(NaN), "NaN");
H A Dstr-to-num.js66 assertEquals(NaN, toNumber("0x"));
67 assertEquals(NaN, toNumber("0x "));
69 assertTrue(isNaN(toNumber(" NaN ")));
H A Dstring-charat.js57 assertEquals("t", s().charAt(NaN));
73 assertEquals(116, s().charCodeAt(NaN));
/external/v8/test/webkit/
H A Dmath-transforms.js39 notANumber: NaN,
/external/dexmaker/src/test/java/com/google/dexmaker/
H A DDexMakerTest.java609 assertEquals(0, floatToInt.invoke(null, Float.NaN));
617 assertEquals(0L, floatToLong.invoke(null, Float.NaN));
625 assertEquals(0, doubleToInt.invoke(null, Double.NaN));
633 assertEquals(0L, doubleToLong.invoke(null, Double.NaN));
642 assertEquals(Double.NaN, floatToDouble.invoke(null, Float.NaN));
649 assertEquals(Float.NaN, doubleToFloat.invoke(null, Double.NaN));
715 assertEquals(Float.NaN, negateFloat.invoke(null, Float.NaN));
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
H A DContinuousOutputModel.java185 initialTime = Double.NaN;
186 finalTime = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
H A DAdamsMoultonIntegrator.java330 stepStart = Double.NaN;
331 stepSize = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
H A DFrequency.java307 * Returns <code>Double.NaN</code> if no values have been added.</p>
322 * Returns <code>Double.NaN</code> if no values have been added.</p>
330 return Double.NaN;
477 * Returns <code>Double.NaN</code> if no values have been added.
495 * Returns <code>Double.NaN</code> if no values have been added.
505 return Double.NaN;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
H A DSetValuesTest.java83 testField(classID, fieldInfo, new Value((float)Float.NaN));
91 testField(classID, fieldInfo, new Value((double)Double.NaN));
/external/smali/util/src/test/java/org/jf/util/
H A DNumberUtilsTest.java42 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NaN)));
90 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.NaN)));
/external/v8/test/mjsunit/es6/
H A Dmath-hyperbolic.js33 assertTrue(isNaN(fun(NaN)));
81 // Math.atanh(x) is NaN for |x| > 1 and NaN
82 [1.000000000001, Math.PI, 10000000, 2, Infinity, NaN].forEach(function(x) {
98 // Math.acosh(x) is NaN for x < 1

Completed in 1844 milliseconds

1234567891011