Searched refs:NaN (Results 51 - 75 of 258) sorted by relevance

1234567891011

/external/v8/test/mjsunit/
H A Dmath-min-max.js79 assertEquals(NaN, Math.min('oxen'));
80 assertEquals(NaN, Math.min('oxen', 1));
81 assertEquals(NaN, Math.min(1, 'oxen'));
112 assertEquals(NaN, Math.max('oxen'));
113 assertEquals(NaN, Math.max('oxen', 1));
114 assertEquals(NaN, Math.max(1, 'oxen'));
160 // NaN.
161 assertEquals(NaN, Math.max(NaN, v8));
162 assertEquals(NaN, Mat
[all...]
H A Ddouble-truncation.js43 RunOneTruncationTest(NaN, 0);
45 RunOneTruncationTest(-NaN, 0);
H A Dnot.js40 testNot(NaN);
H A Dunbox-double-arrays.js176 // Test NaN values
177 test_various_stores(large_array, NaN, -NaN, expected_array_value(7));
180 NaN,
181 -NaN,
184 NaN,
185 -NaN,
188 NaN,
189 -NaN,
193 NaN,
[all...]
H A Delide-double-hole-check-1.js49 assertEquals(NaN, f2(a2_b, 1));
/external/v8/test/webkit/
H A Dcomparison-operators.js76 doTest('"a"', '0', NaN);
77 doTest('0', '"a"', NaN);
78 doTest('letterA', '0', NaN);
80 doTest('0', '"a"', NaN);
82 doTest('0', 'letterA', NaN);
84 doTest('0', 'letterA', NaN);
H A Dcomparison-operators-greater.js76 doTest('"a"', '0', NaN);
77 doTest('0', '"a"', NaN);
88 doTest('letterA', '0', NaN);
90 doTest('0', '"a"', NaN);
92 doTest('0', 'letterA', NaN);
94 doTest('0', 'letterA', NaN);
222 shouldBeFalse(" 0 > NaN");
223 shouldBeFalse(" NaN > NaN");
224 shouldBeFalse(" 0 >= NaN");
[all...]
H A Dcomparison-operators-less.js75 doTest('"a"', '0', NaN);
76 doTest('0', '"a"', NaN);
77 doTest('letterA', '0', NaN);
79 doTest('0', '"a"', NaN);
81 doTest('0', 'letterA', NaN);
83 doTest('0', 'letterA', NaN);
221 shouldBeFalse(" 0 < NaN");
222 shouldBeFalse(" NaN < NaN");
223 shouldBeFalse(" 0 <= NaN");
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DSecondMoment.java35 * Returns <code>Double.NaN</code> if no data values have been added and
58 m2 = Double.NaN;
90 m2 = Double.NaN;
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 DProduct.java29 * <code>NaN</code>, then <code>NaN</code> is returned.</p>
56 value = Double.NaN;
102 value = Double.NaN;
108 * the input array, or <code>Double.NaN</code> if the designated subarray
116 * @return the product of the values or Double.NaN if length = 0
122 double product = Double.NaN;
134 * the input array, or <code>Double.NaN</code> if the designated subarray
142 * <li>the weights array contains one or more NaN values</li>
156 * @return the product of the values or Double.NaN i
[all...]
H A DSum.java28 * <code>NaN</code>, then <code>NaN</code> is returned.</p>
55 value = Double.NaN;
101 value = Double.NaN;
107 * the input array, or <code>Double.NaN</code> if the designated subarray
115 * @return the sum of the values or Double.NaN if length = 0
121 double sum = Double.NaN;
133 * the input array, or <code>Double.NaN</code> if the designated subarray
141 * <li>the weights array contains one or more NaN values</li>
154 * @return the sum of the values or Double.NaN i
[all...]
H A DSumOfSquares.java27 * <code>NaN</code>, then <code>NaN</code> is returned.</p>
54 value = Double.NaN;
100 value = Double.NaN;
106 * the input array, or <code>Double.NaN</code> if the designated subarray
114 * @return the sum of the squares of the values or Double.NaN if length = 0
120 double sumSq = Double.NaN;
H A DSumOfLogs.java29 * <li>If any of values are < 0, the result is <code>NaN.</code></li>
35 * <code>NaN.</code></li>
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/v8/test/mjsunit/es6/
H A Dmath-hypot.js50 assertEquals("Infinity", String(Math.hypot(NaN, Infinity)));
53 // Check that NaN is returned if any argument is NaN and none is +/-Infinity/
54 assertTrue(isNaN(Math.hypot(1, 2, NaN)));
55 assertTrue(isNaN(Math.hypot(NaN, NaN, 4)));
H A Dmath-clz32.js7 [NaN, Infinity, -Infinity, 0, -0, "abc", "Infinity", "-Infinity", {}].forEach(
H A Dmath-expm1.js7 assertTrue(isNaN(Math.expm1(NaN)));
9 assertTrue(isNaN(Math.expm1({ toString: function() { return NaN; } })));
/external/v8/test/mjsunit/regress/
H A Dregress-88858.js56 return NaN;
H A Dregress-925537.js36 assertEquals(1, Math.pow(NaN, 0));
H A Dregress-2443.js85 assertEquals("NaN",
86 Number.prototype.toExponential.call(NaN, f_obj));
100 assertEquals("NaN",
101 Number.prototype.toPrecision.call(NaN, f_obj));
117 assertThrows(function() { Number.prototype.toFixed.call(NaN, f_obj) },
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
H A DAbstractRandomGenerator.java42 * activation. The value {@code Double.NaN} signals that there is
45 private double cachedNormalDeviate = Double.NaN;
62 cachedNormalDeviate = Double.NaN;
255 cachedNormalDeviate = Double.NaN;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/
H A DMax.java27 * <li>The result is <code>NaN</code> iff all values are <code>NaN</code>
28 * (i.e. <code>NaN</code> values have no impact on the value of the statistic).</li>
56 value = Double.NaN;
85 value = Double.NaN;
106 * the input array, or <code>Double.NaN</code> if the designated subarray
113 * <li>The result is <code>NaN</code> iff all values are <code>NaN</code>
114 * (i.e. <code>NaN</code> values have no impact on the value of the statistic).</li>
122 * @return the maximum of the values or Double.NaN i
[all...]
H A DMin.java27 * <li>The result is <code>NaN</code> iff all values are <code>NaN</code>
28 * (i.e. <code>NaN</code> values have no impact on the value of the statistic).</li>
56 value = Double.NaN;
85 value = Double.NaN;
106 * the input array, or <code>Double.NaN</code> if the designated subarray
113 * <li>The result is <code>NaN</code> iff all values are <code>NaN</code>
114 * (i.e. <code>NaN</code> values have no impact on the value of the statistic).</li>
122 * @return the minimum of the values or Double.NaN i
[all...]
/external/compiler-rt/lib/builtins/
H A Dfp_mul_impl.inc26 // Detect if a or b is zero, denormal, infinity, or NaN.
32 // NaN * anything = qNaN
34 // anything * NaN = qNaN
40 // infinity * zero = NaN
47 // zero * infinity = NaN
/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
183 * elements will be NaN if the {@link #optimize(UnivariateRealFunction,
186 * if the first element is not NaN, it is the best point found across
207 * descending order if maximizing), followed by Double.NaN elements
209 * elements will be NaN if the {@link #optimize(UnivariateRealFunction,
212 * if the first element is not NaN, it is the best point found across
249 optima[i] = Double.NaN;
250 optimaValues[i] = Double.NaN;
252 optima[i] = Double.NaN;
253 optimaValues[i] = Double.NaN;
[all...]

Completed in 1523 milliseconds

1234567891011