Home
last modified time | relevance | path

Searched refs:isNaN (Results 1 - 25 of 228) sorted by relevance

12345678910

/third_party/jerryscript/tests/jerry/
H A Dglobal-parsefloat.js35 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(parseFloa
[all...]
H A Dglobal-parseint.js28 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(parseIn
[all...]
H A Dstring-prototype-charcodeat.js35 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(Strin
[all...]
H A Ddate-setters.js229 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 (
[all...]
H A Dmath-trig.js19 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)));
H A Ddate-construct.js31 assert (isNaN(d.valueOf()));
34 assert (!isNaN(d.valueOf()));
49 assert (isNaN(d.valueOf()));
52 assert (isNaN(d.valueOf()));
55 assert (isNaN(d.valueOf()));
H A Dregression-test-issue-1074.js15 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($){}
H A Dsqrt.js15 assert(isNaN(Math['sqrt'] (NaN)));
16 assert(isNaN(Math['sqrt'] (-1.0)));
17 assert(isNaN(Math['sqrt'] (-Infinity)));
H A Ddate-utc.js18 assert (isNaN(d));
21 assert (isNaN(d));
24 assert (isNaN(d));
H A Dmath-log.js15 assert( isNaN (Math.log(NaN)) );
16 assert( isNaN (Math.log (-1)) );
17 assert( isNaN (Math.log (-Infinity)) );
H A Dregression-test-issue-786.js18 try { String.prototype.match(isNaN) } catch (err) { }
24 try { isNaN.apply(Date.prototype.toISOString, String.prototype.split) } catch (err) { }
27 try { isNaN.apply(assert, JSON.stringify) } catch (err) { }
H A Ddate-parse.js78 assert (isNaN(d));
84 assert (isNaN(d));
87 assert (isNaN(d));
/third_party/jerryscript/tests/jerry/es5.1/
H A Dbuiltin-prototypes.js26 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 (Dat
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dmath-atanh.js24 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)));
H A Dmath-acosh.js24 assert(isNaN(Math.acosh(NaN)));
25 assert(isNaN(Math.acosh(0)));
26 assert(isNaN(Math.acosh(Number.NEGATIVE_INFINITY)));
H A Dmath-log10.js18 assert(isNaN(Math.log10(NaN)));
19 assert(isNaN(Math.log10(-42)));
20 assert(isNaN(Math.log10(-3.0)));
H A Dmath-log1p.js23 assert(isNaN(Math.log1p(NaN)));
24 assert(isNaN(Math.log1p(-42)));
25 assert(isNaN(Math.log1p(-3.0)));
H A Dmath-log2.js18 assert(isNaN(Math.log2(NaN)));
19 assert(isNaN(Math.log2(-42)));
20 assert(isNaN(Math.log2(-3.0)));
H A Dnew-target.js59 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)); }
/third_party/node/test/fixtures/wpt/resources/
H A Dcheck-layout.js45 if (isNaN(expectedWidth) || Math.abs(node.offsetWidth - expectedWidth) >= 1)
51 if (isNaN(expectedHeight) || Math.abs(node.offsetHeight - expectedHeight) >= 1)
57 if (isNaN(expectedOffset) || Math.abs(node.offsetLeft - expectedOffset) >= 1)
63 if (isNaN(expectedOffset) || Math.abs(node.offsetTop - expectedOffset) >= 1)
70 if (isNaN(expectedOffset) || Math.abs(actualOffset - expectedOffset) >= 1)
77 if (isNaN(expectedOffset) || Math.abs(actualOffset - expectedOffset) >= 1)
83 if (isNaN(expectedWidth) || Math.abs(node.clientWidth - expectedWidth) >= 1)
89 if (isNaN(expectedHeight) || Math.abs(node.clientHeight - expectedHeight) >= 1)
95 if (isNaN(expectedWidth) || Math.abs(node.scrollWidth - expectedWidth) >= 1)
101 if (isNaN(expectedHeigh
[all...]
/third_party/node/deps/npm/node_modules/nopt/lib/
H A Dtype-defs.js34 debug('validate Number %j %j %j', k, val, isNaN(val))
35 if (isNaN(val)) {
44 if (isNaN(s)) {
52 if (!isNaN(val)) {
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DConstantUnion.cpp23 if (gl::isNaN(result) && !gl::isNaN(lhs) && !gl::isNaN(rhs)) in CheckedSum()
37 if (gl::isNaN(result) && !gl::isNaN(lhs) && !gl::isNaN(rhs)) in CheckedDiff()
51 if (gl::isNaN(result) && !gl::isNaN(lhs) && !gl::isNaN(rhs)) in CheckedMul()
/third_party/jerryscript/tests/jerry-test-suite/11/11.03/11.03.01/
H A D11.03.01-009.js17 assert(isNaN(a++) && isNaN(a));
H A D11.03.01-011.js16 assert ( isNaN(a++) && isNaN(a) );
/third_party/jerryscript/tests/jerry-test-suite/11/11.03/11.03.02/
H A D11.03.02-009.js16 assert(isNaN(a--) && isNaN(a))

Completed in 6 milliseconds

12345678910