Lines Matching full:max
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)));
19 assert(Math['max'] (1.0, 3.0, 0.0) === 3.0);
20 assert(Math['max'] (1.0, 3.0, Infinity) === Infinity);
21 assert(Math['max'] (1.0, 3.0, -Infinity) === 3.0);
22 assert(Math['max'] (-Infinity, Infinity) === Infinity);
23 assert(Math['max'] (Infinity, -Infinity) === Infinity);
24 assert(Math['max'] (Infinity, Infinity) === Infinity);
25 assert(Math['max'] (-Infinity, -Infinity) === -Infinity);
26 assert(Math['max'] () === -Infinity);
28 assert(Math['max'] (0.0, -0.0) === 0.0);
29 assert(Math['max'] (-0.0, 0.0) === 0.0);
31 assert(Math['max'] (2, Infinity) === Infinity);
32 assert(Math['max'] (Infinity, 2) === Infinity);
33 assert(Math['max'] (2, -Infinity) === 2);
34 assert(Math['max'] (-Infinity, 2) === 2);
36 assert(Math['max'] (-2, Infinity) === Infinity);
37 assert(Math['max'] (Infinity, -2) === Infinity);
38 assert(Math['max'] (-2, -Infinity) === -2);
39 assert(Math['max'] (-Infinity, -2) === -2);