/third_party/jerryscript/tests/jerry/ |
D | global-parseint.js | 28 assert(isNaN(parseInt("AB"))); 29 assert(isNaN(parseInt(""))); 30 assert(isNaN(parseInt("-"))); 31 assert(isNaN(parseInt("-", 11))); 36 assert(isNaN(parseInt("\u0009"))); 37 assert(isNaN(parseInt("\u00A0"))); 47 assert(isNaN(parseInt(bool, bool))); 48 assert(isNaN(parseInt(bool, obj))); 49 assert(isNaN(parseInt(bool, num))); 50 assert(isNaN(parseInt(bool, arr))); [all …]
|
D | global-parsefloat.js | 35 assert(isNaN(parseFloat("foo1.2e3foo"))); 40 assert(isNaN(parseFloat(""))); 41 assert(isNaN(parseFloat("."))); 42 assert(isNaN(parseFloat(".."))); 43 assert(isNaN(parseFloat("+"))); 44 assert(isNaN(parseFloat("-"))); 45 assert(isNaN(parseFloat("e"))); 46 assert(isNaN(parseFloat("a"))); 47 assert(isNaN(parseFloat("e+"))); 48 assert(isNaN(parseFloat("+e-"))); [all …]
|
D | date-getters.js | 77 assert (isNaN (d)); 79 assert (isNaN (d.getFullYear())); 80 assert (isNaN (d.getUTCFullYear())); 81 assert (isNaN (d.getMonth())); 82 assert (isNaN (d.getUTCMonth())); 83 assert (isNaN (d.getDate())); 84 assert (isNaN (d.getUTCDate())); 85 assert (isNaN (d.getDay())); 86 assert (isNaN (d.getUTCDay())); 87 assert (isNaN (d.getHours())); [all …]
|
D | string-prototype-charcodeat.js | 35 assert(isNaN(String.prototype.charCodeAt.call(new String()))); 48 assert(isNaN("hello world!".charCodeAt(-Infinity))); 50 assert(isNaN("hello world!".charCodeAt(Infinity))); 54 assert(isNaN("hello world!".charCodeAt(12))); 63 assert(isNaN("\u00A9\u006F".charCodeAt(2))); 66 assert(isNaN("hello world!".charCodeAt(-1))); 68 assert(isNaN("hello world!".charCodeAt(-9999999))); 81 assert(isNaN("hello world!".charCodeAt(4294967299))); 85 assert(isNaN(String.prototype.charCodeAt.call(undefined))); 93 assert(isNaN(String.prototype.charCodeAt.call(null, 0)));
|
D | regression-test-issue-1636.js | 16 assert(isNaN(Number("infinity"))); 17 assert(isNaN(Number("InfinitY"))); 18 assert(isNaN(Number("e"))); 19 assert(isNaN(Number("e3"))); 21 assert(isNaN(Number("."))); 22 assert(isNaN(Number(".e2")));
|
D | date-setters.js | 229 assert (isNaN (d.setTime())); 230 assert (isNaN (d.setMilliseconds())); 231 assert (isNaN (d.setUTCMilliseconds())); 232 assert (isNaN (d.setSeconds())); 233 assert (isNaN (d.setUTCSeconds())); 234 assert (isNaN (d.setMinutes())); 235 assert (isNaN (d.setUTCMinutes())); 236 assert (isNaN (d.setHours())); 237 assert (isNaN (d.setUTCHours())); 238 assert (isNaN (d.setDate())); [all …]
|
D | math-trig.js | 19 assert (isNaN (Math.cos (NaN))); 22 assert (isNaN (Math.cos (Infinity))); 23 assert (isNaN (Math.cos (-Infinity))); 39 assert (isNaN (Math.sin (NaN))); 42 assert (isNaN (Math.sin (Infinity))); 43 assert (isNaN (Math.sin (-Infinity)));
|
D | math-pow.js | 15 assert ( isNaN (Math.pow (0.0 /* any number */, NaN)) ); 18 assert ( isNaN (Math.pow (NaN, 1.0 /* any non-zero number */)) ); 21 assert ( isNaN (Math.pow (1.0, Infinity)) ); 22 assert ( isNaN (Math.pow (1.0, -Infinity)) ); 41 assert ( isNaN (Math.pow (-3, 2.5)) );
|
D | date-construct.js | 31 assert (isNaN(d.valueOf())); 34 assert (!isNaN(d.valueOf())); 49 assert (isNaN(d.valueOf())); 52 assert (isNaN(d.valueOf())); 55 assert (isNaN(d.valueOf()));
|
D | math-min.js | 15 assert(isNaN (Math['min'] (1.0, NaN))); 16 assert(isNaN (Math['min'] (NaN, 1.0))); 17 assert(isNaN (Math['min'] (-Infinity, NaN))); 18 assert(isNaN (Math['min'] (NaN, -Infinity)));
|
D | math-max.js | 15 assert(isNaN (Math['max'] (1.0, NaN))); 16 assert(isNaN (Math['max'] (NaN, 1.0))); 17 assert(isNaN (Math['max'] (Infinity, NaN))); 18 assert(isNaN (Math['max'] (NaN, Infinity)));
|
D | sqrt.js | 15 assert(isNaN(Math['sqrt'] (NaN))); 16 assert(isNaN(Math['sqrt'] (-1.0))); 17 assert(isNaN(Math['sqrt'] (-Infinity)));
|
D | regression-test-issue-1074.js | 15 try { this.Date.prototype.$ (this.isNaN.length, this.String.fromCharCode.length) } catch($){} 18 try { this.isNaN (undefined) } catch($){} 20 try { this.isNaN(this.RegExp.prototype.compile(this.RegExp.prototype)) } catch($){}
|
D | date-utc.js | 18 assert (isNaN(d)); 21 assert (isNaN(d)); 24 assert (isNaN(d));
|
/third_party/jerryscript/tests/jerry/es5.1/ |
D | builtin-prototypes.js | 26 assert (isNaN(Date.prototype.valueOf())); 28 assert (isNaN (Date.prototype.setTime())); 29 assert (isNaN (Date.prototype.setMilliseconds())); 30 assert (isNaN (Date.prototype.setUTCMilliseconds())); 31 assert (isNaN (Date.prototype.setSeconds())); 32 assert (isNaN (Date.prototype.setUTCSeconds())); 33 assert (isNaN (Date.prototype.setMinutes())); 34 assert (isNaN (Date.prototype.setUTCMinutes())); 35 assert (isNaN (Date.prototype.setHours())); 36 assert (isNaN (Date.prototype.setUTCHours())); [all …]
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | validators.dart | 10 !(rect.left.isNaN || 11 rect.right.isNaN || 12 rect.top.isNaN || 13 rect.bottom.isNaN), 21 !(rrect.left.isNaN || 22 rrect.right.isNaN || 23 rrect.top.isNaN || 24 rrect.bottom.isNaN), 31 assert(!offset.dx.isNaN && !offset.dy.isNaN, 44 assert(!radius.x.isNaN && !radius.y.isNaN,
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | math-atanh.js | 24 assert(isNaN(Math.atanh(NaN))); 25 assert(isNaN(Math.atanh(2))); 26 assert(isNaN(Math.atanh(44))); 27 assert(isNaN(Math.atanh(-2))); 28 assert(isNaN(Math.atanh(-13)));
|
D | new-target.js | 59 assert (isNaN (-new.target)); 154 function binary_test_2 () { assert (isNaN (new.target - 3)); } 155 function binary_test_3 () { assert (isNaN (new.target * 2)); } 156 function binary_test_4 () { assert (isNaN (new.target / 4)); }
|
D | math-acosh.js | 24 assert(isNaN(Math.acosh(NaN))); 25 assert(isNaN(Math.acosh(0))); 26 assert(isNaN(Math.acosh(Number.NEGATIVE_INFINITY)));
|
D | math-log10.js | 18 assert(isNaN(Math.log10(NaN))); 19 assert(isNaN(Math.log10(-42))); 20 assert(isNaN(Math.log10(-3.0)));
|
D | math-log2.js | 18 assert(isNaN(Math.log2(NaN))); 19 assert(isNaN(Math.log2(-42))); 20 assert(isNaN(Math.log2(-3.0)));
|
D | math-log1p.js | 23 assert(isNaN(Math.log1p(NaN))); 24 assert(isNaN(Math.log1p(-42))); 25 assert(isNaN(Math.log1p(-3.0)));
|
/third_party/node/deps/npm/node_modules/uid-number/ |
D | uid-number.js | 21 if (!isNaN(gid)) gid = gidCache[gid] = +gid 22 if (!isNaN(uid)) uid = uidCache[uid] = +uid 54 if (isNaN(out.uid) || isNaN(out.gid)) return cb(new Error(
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | mathutil_unittest.cpp | 179 TEST(MathUtilTest, isNaN) in TEST() argument 181 EXPECT_TRUE(isNaN(bitCast<float>(0xffu << 23 | 1u))); in TEST() 182 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 1u))); in TEST() 183 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 0x400000u))); in TEST() 184 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 0x7fffffu))); in TEST() 185 EXPECT_FALSE(isNaN(0.0f)); in TEST() 186 EXPECT_FALSE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23))); in TEST() 187 EXPECT_FALSE(isNaN(bitCast<float>(0xffu << 23))); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | mathutil_unittest.cpp | 179 TEST(MathUtilTest, isNaN) in TEST() argument 181 EXPECT_TRUE(isNaN(bitCast<float>(0xffu << 23 | 1u))); in TEST() 182 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 1u))); in TEST() 183 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 0x400000u))); in TEST() 184 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 0x7fffffu))); in TEST() 185 EXPECT_FALSE(isNaN(0.0f)); in TEST() 186 EXPECT_FALSE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23))); in TEST() 187 EXPECT_FALSE(isNaN(bitCast<float>(0xffu << 23))); in TEST()
|