/external/chromium_org/v8/test/webkit/fast/js/kde/ |
GlobalObject.js | 38 shouldBeTrue("isNaN(NaN)"); 39 shouldBeTrue("isNaN('NaN')"); 40 shouldBeFalse("isNaN('1')"); 47 shouldBe('isNaN(parseInt("Hello", 8))', "true"); 48 shouldBe('isNaN(parseInt("FFF", 10))', "true"); 49 shouldBe('isNaN(parseInt(".5", 10))', "true"); 54 shouldBeTrue("isNaN(parseInt())"); 55 shouldBeTrue("isNaN(parseInt(''))"); 56 shouldBeTrue("isNaN(parseInt(' '))"); 57 shouldBeTrue("isNaN(parseInt('a'))") [all...] |
math.js | 67 shouldBeTrue("isNaN(Math.round())"); 68 shouldBeTrue("isNaN(Math.round(NaN))"); 76 shouldBeTrue("isNaN(Math.log(NaN))"); 77 shouldBeTrue("isNaN(Math.log(-1))"); 89 shouldBeTrue("isNaN(Math.max(1,NaN,3))"); 109 shouldBeTrue("isNaN(Number(Math));");
|
/external/chromium_org/v8/test/mjsunit/ |
string-charcodeat.js | 116 assertTrue(isNaN(g().charCodeAt(-1e19)), 1 + t); 117 assertTrue(isNaN(g().charCodeAt(-0x80000001)), 2 + t); 118 assertTrue(isNaN(g().charCodeAt(-0x80000000)), 3 + t); 119 assertTrue(isNaN(g().charCodeAt(-0x40000000)), 4 + t); 120 assertTrue(isNaN(g().charCodeAt(-1)), 5 + t); 121 assertTrue(isNaN(g().charCodeAt(len)), 6 + t); 122 assertTrue(isNaN(g().charCodeAt(len + 1)), 7 + t); 123 assertTrue(isNaN(g().charCodeAt(0x3fffffff)), 8 + t); 124 assertTrue(isNaN(g().charCodeAt(0x7fffffff)), 9 + t); 125 assertTrue(isNaN(g().charCodeAt(0x80000000)), 10 + t) [all...] |
number-is.js | 29 // isFinite(), isNaN(), isInteger(), isSafeInteger(). 50 assertFalse(Number.isNaN(0)); 51 assertFalse(Number.isNaN(Number.MIN_VALUE)); 52 assertFalse(Number.isNaN(Number.MAX_VALUE)); 53 assertFalse(Number.isNaN(Number.MIN_SAFE_INTEGER - 13)); 54 assertFalse(Number.isNaN(Number.MAX_SAFE_INTEGER + 23)); 55 assertTrue(Number.isNaN(Number.NaN)); 56 assertFalse(Number.isNaN(Number.POSITIVE_INFINITY)); 57 assertFalse(Number.isNaN(Number.NEGATIVE_INFINITY)); 58 assertFalse(Number.isNaN(Number.EPSILON)) [all...] |
nans.js | 46 assertTrue(isNaN(doubles[0])); 47 assertTrue(isNaN(doubles[0]*2.0)); 48 assertTrue(isNaN(doubles[0] + 0.5)); 61 assertTrue(isNaN(doubles[0])); 62 assertTrue(isNaN(doubles[0]*2.0)); 63 assertTrue(isNaN(doubles[0] + 0.5)); 76 assertTrue(isNaN(floats[0])); 77 assertTrue(isNaN(floats[0]*2.0)); 78 assertTrue(isNaN(floats[0] + 0.5)); 91 assertTrue(isNaN(floats[0])) [all...] |
date.js | 56 assertTrue(isNaN(dOverflow.getTime())); 65 assertTrue(isNaN(dUnderflow.getTime())); 85 assertTrue(isNaN(c.getMonth())); 90 assertTrue(isNaN(d.getUTCMonth())); 96 assertTrue(isNaN(e.getDate())); 101 assertTrue(isNaN(f.getUTCDate())); 107 assertTrue(isNaN(g.getHours())); 112 assertTrue(isNaN(h.getUTCHours())); 118 assertTrue(isNaN(g.getMinutes())); 123 assertTrue(isNaN(h.getUTCHours())) [all...] |
parse-int-float.js | 45 assertTrue(isNaN(parseInt('0x '))); 46 assertTrue(isNaN(parseInt('0x'))); 47 assertTrue(isNaN(parseInt('0x ', 16))); 48 assertTrue(isNaN(parseInt('0x', 16))); 95 assertTrue(isNaN(parseInt(0/0))); 96 assertTrue(isNaN(parseInt(1/0)), "parseInt Infinity"); 97 assertTrue(isNaN(parseInt(-1/0)), "parseInt -Infinity"); 99 assertTrue(isNaN(parseFloat(0/0)));
|
str-to-num.js | 69 assertTrue(isNaN(toNumber(" NaN "))); 195 assertTrue(isNaN(toNumber("junk")), "junk"); 196 assertTrue(isNaN(toNumber("100 junk")), "100 junk"); 197 assertTrue(isNaN(toNumber("0x100 junk")), "0x100 junk"); 198 assertTrue(isNaN(toNumber("100.0 junk")), "100.0 junk"); 199 assertTrue(isNaN(toNumber(".1e4 junk")), ".1e4 junk"); 200 assertTrue(isNaN(toNumber("Infinity junk")), "Infinity junk"); 201 assertTrue(isNaN(toNumber("1e")), "1e"); 202 assertTrue(isNaN(toNumber("1e ")), "1e_"); 203 assertTrue(isNaN(toNumber("1" + repeat('0', 1000) + 'junk')), "1e1000 junk") [all...] |
string-charat.js | 74 assertTrue(isNaN(s().charCodeAt(-1))); 75 assertTrue(isNaN(s().charCodeAt(len))); 76 assertTrue(isNaN(s().charCodeAt(slowIndexOutOfRange))); 77 assertTrue(isNaN(s().charCodeAt(1/0))); 78 assertTrue(isNaN(s().charCodeAt(-1/0))); 122 assertTrue(isNaN(o.charCodeAt(-1))); 123 assertTrue(isNaN(o.charCodeAt(-1.4))); 124 assertTrue(isNaN(o.charCodeAt(10))); 125 assertTrue(isNaN(o.charCodeAt(slowIndexOutOfRange)));
|
sum-0-plus-undefined-is-NaN.js | 38 assertEquals(expectNaN, isNaN(sum(x, y))); 41 assertEquals(expectNaN, isNaN(sum(x, y)));
|
/external/chromium_org/v8/test/mjsunit/es6/ |
math-log1p.js | 5 assertTrue(isNaN(Math.log1p(NaN))); 6 assertTrue(isNaN(Math.log1p(function() {}))); 7 assertTrue(isNaN(Math.log1p({ toString: function() { return NaN; } }))); 8 assertTrue(isNaN(Math.log1p({ valueOf: function() { return "abc"; } }))); 13 assertTrue(isNaN(Math.log1p(-2))); 14 assertTrue(isNaN(Math.log1p(-Infinity)));
|
math-fround.js | 10 assertTrue(isNaN(Math.fround(NaN))); 11 assertTrue(isNaN(Math.fround(function() {}))); 12 assertTrue(isNaN(Math.fround({ toString: function() { return NaN; } }))); 13 assertTrue(isNaN(Math.fround({ valueOf: function() { return "abc"; } }))); 14 assertTrue(isNaN(Math.fround(NaN))); 15 assertTrue(isNaN(Math.fround(function() {}))); 16 assertTrue(isNaN(Math.fround({ toString: function() { return NaN; } }))); 17 assertTrue(isNaN(Math.fround({ valueOf: function() { return "abc"; } })));
|
math-expm1.js | 7 assertTrue(isNaN(Math.expm1(NaN))); 8 assertTrue(isNaN(Math.expm1(function() {}))); 9 assertTrue(isNaN(Math.expm1({ toString: function() { return NaN; } }))); 10 assertTrue(isNaN(Math.expm1({ valueOf: function() { return "abc"; } })));
|
math-hypot.js | 28 assertTrue(isNaN(Math.hypot({}))); 29 assertTrue(isNaN(Math.hypot(undefined, 1))); 30 assertTrue(isNaN(Math.hypot(1, undefined))); 31 assertTrue(isNaN(Math.hypot(Math.hypot, 1))); 54 assertTrue(isNaN(Math.hypot(1, 2, NaN))); 55 assertTrue(isNaN(Math.hypot(NaN, NaN, 4)));
|
math-hyperbolic.js | 33 assertTrue(isNaN(fun(NaN))); 34 assertTrue(isNaN(fun("abc"))); 35 assertTrue(isNaN(fun({}))); 37 assertTrue(isNaN(fun([1, 1]))); 83 assertTrue(isNaN(Math.atanh(-x))); 84 assertTrue(isNaN(Math.atanh(x))); 100 assertTrue(isNaN(Math.acosh(x)));
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2596.js | 33 assertTrue(isNaN(doubles[0])); 45 assertTrue(isNaN(boom(0))); 46 assertTrue(isNaN(boom(0))); 47 assertTrue(isNaN(boom(0))); 51 assertTrue(isNaN(boom(0))); 52 assertTrue(isNaN(boom(0))); 53 assertTrue(isNaN(boom(0)));
|
regress-escape-preserve-smi-representation.js | 10 if (typeof a == "number") return isNaN(a) && isNaN(b);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Decimal.h | 74 bool isNaN() const { return m_formatClass == ClassNaN; } 129 bool isNaN() const { return m_data.isNaN(); }
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
Value.java | 223 if (Double.isNaN(getDoubleValue()) 224 && (Double.isNaN(value0.getDoubleValue()))) 228 if (Float.isNaN(getFloatValue()) 229 && (Float.isNaN(value0.getFloatValue())))
|
/external/chromium_org/v8/tools/profviz/ |
stdio.js | 36 if (isNaN(distortion)) processor.printUsageAndExit();; 42 if (!isNaN(range_start)) range_start_override = range_start; 43 if (!isNaN(range_end)) range_end_override = range_end;
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XNumber.java | 118 return (Double.isNaN(m_val) || (m_val == 0.0)) ? false : true; 131 // if (Double.isNaN(m_val)) 280 if (Double.isNaN(m_val))
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSubstring.java | 60 if (Double.isNaN(start))
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/ |
GoToLineDialog.js | 103 if (!isNaN(lineNumber) && lineNumber >= 0)
|
/external/chromium_org/v8/test/webkit/ |
date-set-to-nan.js | 88 if (!isNaN(setResult)) { 94 if (!isNaN(getResult)) { 282 if (!isNaN(setResult)) { 289 if (!isNaN(getResult)) { 304 if (!isNaN(setResult)) { 311 if (!isNaN(getResult)) { 335 if (!isNaN(setResult)) { 343 if (!isNaN(getResult)) { 366 if (!isNaN(setResult)) { 375 if (!isNaN(getResult)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/ |
Test_double_to_float.java | 78 assertTrue(Float.isNaN(t.run(Double.NaN)));
|