Lines Matching full:isnan
28 // Test Harmony Number.isFinite() and Number.isNaN() functions.
45 assertFalse(Number.isNaN(0));
46 assertFalse(Number.isNaN(Number.MIN_VALUE));
47 assertFalse(Number.isNaN(Number.MAX_VALUE));
48 assertTrue(Number.isNaN(Number.NaN));
49 assertFalse(Number.isNaN(Number.POSITIVE_INFINITY));
50 assertFalse(Number.isNaN(Number.NEGATIVE_INFINITY));
51 assertFalse(Number.isNaN(new Number(0)));
52 assertFalse(Number.isNaN(1/0));
53 assertFalse(Number.isNaN(-1/0));
54 assertFalse(Number.isNaN({}));
55 assertFalse(Number.isNaN([]));
56 assertFalse(Number.isNaN("s"));
57 assertFalse(Number.isNaN(null));
58 assertFalse(Number.isNaN(undefined));