/external/v8/test/mjsunit/ |
H A D | math-min-max.js | 79 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 D | double-truncation.js | 43 RunOneTruncationTest(NaN, 0); 45 RunOneTruncationTest(-NaN, 0);
|
H A D | not.js | 40 testNot(NaN);
|
H A D | unbox-double-arrays.js | 176 // 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 D | elide-double-hole-check-1.js | 49 assertEquals(NaN, f2(a2_b, 1));
|
/external/v8/test/webkit/ |
H A D | comparison-operators.js | 76 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 D | comparison-operators-greater.js | 76 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 D | comparison-operators-less.js | 75 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 D | SecondMoment.java | 35 * Returns <code>Double.NaN</code> if no data values have been added and 58 m2 = Double.NaN; 90 m2 = Double.NaN;
|
H A D | FourthMoment.java | 43 * 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 D | Product.java | 29 * <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 D | Sum.java | 28 * <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 D | SumOfSquares.java | 27 * <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 D | SumOfLogs.java | 29 * <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 D | math-hypot.js | 50 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 D | math-clz32.js | 7 [NaN, Infinity, -Infinity, 0, -0, "abc", "Infinity", "-Infinity", {}].forEach(
|
H A D | math-expm1.js | 7 assertTrue(isNaN(Math.expm1(NaN))); 9 assertTrue(isNaN(Math.expm1({ toString: function() { return NaN; } })));
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-88858.js | 56 return NaN;
|
H A D | regress-925537.js | 36 assertEquals(1, Math.pow(NaN, 0));
|
H A D | regress-2443.js | 85 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 D | AbstractRandomGenerator.java | 42 * 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 D | Max.java | 27 * <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 D | Min.java | 27 * <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 D | fp_mul_impl.inc | 26 // 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 D | MultiStartUnivariateRealOptimizer.java | 181 * 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...] |