/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));");
|
/frameworks/base/core/java/android/hardware/camera2/ |
Rational.java | 66 private boolean isNaN() { 114 if (isNaN() && other.isNaN()) { 141 if (isNaN()) {
|
/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...] |
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)));
|
/external/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...] |
date.js | 54 assertTrue(isNaN(dOverflow.getTime())); 63 assertTrue(isNaN(dUnderflow.getTime())); 83 assertTrue(isNaN(c.getMonth())); 88 assertTrue(isNaN(d.getUTCMonth())); 94 assertTrue(isNaN(e.getDate())); 99 assertTrue(isNaN(f.getUTCDate())); 105 assertTrue(isNaN(g.getHours())); 110 assertTrue(isNaN(h.getUTCHours())); 116 assertTrue(isNaN(g.getMinutes())); 121 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 "))); 197 assertTrue(isNaN(toNumber("junk")), "junk"); 198 assertTrue(isNaN(toNumber("100 junk")), "100 junk"); 199 assertTrue(isNaN(toNumber("0x100 junk")), "0x100 junk"); 200 assertTrue(isNaN(toNumber("100.0 junk")), "100.0 junk"); 201 assertTrue(isNaN(toNumber(".1e4 junk")), ".1e4 junk"); 202 assertTrue(isNaN(toNumber("Infinity junk")), "Infinity junk"); 203 assertTrue(isNaN(toNumber("1e")), "1e"); 204 assertTrue(isNaN(toNumber("1e ")), "1e_"); 205 assertTrue(isNaN(toNumber("1" + repeat('0', 1000) + 'junk')), "1e1000 junk") [all...] |
/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)));
|
/libcore/luni/src/main/java/java/lang/ |
Double.java | 257 public boolean isNaN() { 258 return isNaN(value); 270 public static boolean isNaN(double d) { 364 if (isNaN(double1)) { 365 if (isNaN(double2)) { 369 } else if (isNaN(double2)) {
|
Float.java | 266 public boolean isNaN() { 267 return isNaN(value); 279 public static boolean isNaN(float f) { 370 if (isNaN(float1)) { 371 if (isNaN(float2)) { 375 } else if (isNaN(float2)) {
|
Math.java | 728 if (Double.isNaN(d)) { 760 if (Float.isNaN(f)) { [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldFloatTest.java | 83 assertFalse(Float.isNaN(12.09f)); 84 assertFalse(Float.isNaN(Float.MAX_VALUE)); 85 assertFalse(Float.isNaN(Float.MIN_VALUE));
|
/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/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StrictMathTest.java | 130 assertTrue("Should return Double.NaN", Double.isNaN(StrictMath 195 assertTrue("The result should be NaN.", Double.isNaN(StrictMath 217 assertTrue("The result should be NaN.", Double.isNaN(StrictMath 260 assertTrue("The result should be NaN.", Float.isNaN(StrictMath 281 assertTrue("The result should be NaN.", Float.isNaN(StrictMath 323 assertTrue("Should return NaN", Double.isNaN(StrictMath 369 assertTrue("Should return NaN", Double.isNaN(StrictMath.expm1(Double.NaN))); 471 assertTrue("Should return NaN",Double.isNaN(StrictMath.hypot(Double.NaN, 473 assertTrue("Should return NaN",Double.isNaN(StrictMath.hypot(-345.2680, 521 assertTrue("Should return NaN", Double.isNaN(StrictMat [all...] |
/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/chromium_org/chrome/test/functional/perf/endure_graphs/js/ |
coordinates.js | 51 if (isNaN(min) || merged[i] < min) 53 if (isNaN(max) || merged[i] > max)
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
svn-log.js | 49 return isNaN(bugID) ? 0 : bugID; 57 return isNaN(svnRevision) ? null : svnRevision;
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/ |
SweepSphere.java | 188 if (!Float.isNaN(newT)){ 298 if (!Float.isNaN(newT)){ 306 if (!Float.isNaN(newT)){ 314 if (!Float.isNaN(newT)){ 322 if (!Float.isNaN(newT)){ 329 if (!Float.isNaN(newT)){ 336 if (!Float.isNaN(newT)){ 373 if (Float.isNaN(t))
|