Searched refs:NaN (Results 176 - 200 of 258) sorted by relevance

1234567891011

/external/v8/test/mjsunit/
H A Dswitch.js73 assertEquals("default", f2(NaN), "0-1-switch.NaN");
412 { value: NaN, expected: undefined },
H A Dexternal-array-no-sse2.js202 test_result_nan = [NaN, 0, 0, 0, 0, 0, 0, 0, NaN, NaN];
289 array[0] = NaN;
547 var a21 = [1, undefined, 10, NaN, 0, -1, {valueOf: function() {return 3}}]
552 var a31 = new Float32Array([2, 4, 6, 8, 11, NaN, 1/0, -3])
555 assertArrayPrefix([2, 4, 6, 8, 6, 8, 11, NaN], a31)
H A Dexternal-array.js202 test_result_nan = [NaN, 0, 0, 0, 0, 0, 0, 0, NaN, NaN];
289 array[0] = NaN;
547 var a21 = [1, undefined, 10, NaN, 0, -1, {valueOf: function() {return 3}}]
552 var a31 = new Float32Array([2, 4, 6, 8, 11, NaN, 1/0, -3])
555 assertArrayPrefix([2, 4, 6, 8, 6, 8, 11, NaN], a31)
H A Ddiv-mod.js96 // Return NaN if either operand is NaN, if divisor is 0 or
98 if (isNaN(dividend) || isNaN(divisor) || divisor == 0) { return NaN; }
101 if (dividend == Infinity) { return NaN; }
125 // All combinations of NaN, Infinity, normal, denormal and zero.
127 NaN,
/external/v8/test/mjsunit/es6/
H A Dcollections.js224 // Test whether NaN values as keys are treated correctly.
226 assertFalse(s.has(NaN));
227 assertFalse(s.has(NaN + 1));
229 s.add(NaN);
230 assertTrue(s.has(NaN));
231 assertTrue(s.has(NaN + 1));
234 assertFalse(m.has(NaN));
235 assertFalse(m.has(NaN + 1));
237 m.set(NaN, 'a-value');
238 assertTrue(m.has(NaN));
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
H A DBuildResults.java262 if (n == 1) return Double.NaN;
274 if (n == 1) return Double.NaN;
297 if (idx < 0) return Double.NaN;
H A DConfigResults.java248 values[i] = Double.NaN;
510 this.error = Double.NaN;
515 this.error = Double.NaN;
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
H A DSweepSphere.java120 return Float.NaN;
141 return Float.NaN;
162 // newT = Float.NaN;
195 return Float.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
H A DNelderMead.java173 simplex[i] = new RealPointValuePair(x, Double.NaN, false);
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
H A DAggregateSummaryStatistics.java334 variance = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DSemiVariance.java190 * <p>Returns <code>NaN</code> if the array is empty and throws
226 * <p>Returns <code>NaN</code> if the array is empty and throws
242 * <p>Returns <code>NaN</code> if the array is empty and throws
260 * <p>Returns <code>NaN</code> if the array is empty and throws
278 return Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DCompositeFormat.java101 * include Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY.
133 * Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY.
150 Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY
195 * <li>NaN is formatted as '(NaN)'</li>
H A DOpenIntToDoubleHashMap.java92 * Build an empty map with default size and using NaN for missing entries.
95 this(DEFAULT_EXPECTED_SIZE, Double.NaN);
107 * Build an empty map with specified size and using NaN for missing entries.
111 this(expectedSize, Double.NaN);
H A DMathUtils.java68 /** Gap between NaN and regular numbers. */
417 * @deprecated as of 2.2 his method considers that {@code NaN == NaN}. In release
419 * is specified that {@code NaN != NaN}.
430 * Returns true if both arguments are NaN or neither is NaN and they are
435 * @return {@code true} if the values are equal or both are NaN.
457 * Returns true if both arguments are NaN or are equal or within the range
464 * or both are NaN
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLStringDefault.java805 * @return A double value representation of the string, or return Double.NaN
815 return Double.NaN;
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DVector4f.java54 public final static Vector4f NAN = new Vector4f(Float.NaN, Float.NaN, Float.NaN, Float.NaN);
810 * Check a vector... if it is null or its floats are NaN or infinite,
H A DVector3f.java59 public final static Vector3f NAN = new Vector3f(Float.NaN, Float.NaN, Float.NaN);
859 * Check a vector... if it is null or its floats are NaN or infinite,
/external/valgrind/none/tests/mips64/
H A Dconst.h95 #define NaN 0.0/0.0 macro
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
H A DAbstractIntegrator.java87 stepStart = Double.NaN;
88 stepSize = Double.NaN;
/external/clang/test/Analysis/
H A Dmisc-ps-region-store.cpp493 double NaN = *(double*) nan; local
494 return NaN;
/external/smali/smali/src/main/java/org/jf/smali/
H A DLiteralTools.java322 return Float.NaN;
340 return Double.NaN;
/external/v8/test/mjsunit/harmony/
H A Dtypedarrays.js401 var a21 = [1, undefined, 10, NaN, 0, -1, {valueOf: function() {return 3}}]
406 var a31 = new Float32Array([2, 4, 6, 8, 11, NaN, 1/0, -3])
409 assertArrayPrefix([2, 4, 6, 8, 6, 8, 11, NaN], a31)
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXNodeSet.java164 return (node != DTM.NULL) ? getNumberFromNode(node) : Double.NaN;
178 return (node != DTM.NULL) ? getNumberFromNode(node) : Double.NaN;
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DNanoTest.java2308 assertEquals(Float.NaN, msg.defaultFloatNan);
2311 assertEquals(Double.NaN, msg.defaultDoubleNan);
2463 assertEquals(Float.NaN, newMsg.defaultFloatNan);
2645 assertEquals(Float.NaN, newMsg.getDefaultFloatNan());
2660 * Tests that fields with a default value of NaN are not serialized when
2661 * set to NaN. This is a special case as NaN != NaN, so normal equality
2673 msg.defaultDoubleNan = Double.NaN;
2674 msg.defaultFloatNan = Float.NaN;
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
H A DBrentSolver.java228 double ret = Double.NaN;

Completed in 580 milliseconds

1234567891011