Lines Matching refs:testInt64
100 function testInt64(input, expected = input) {
110 testInt64(0.0, 0);
111 testInt64(-0.0, 0);
114 testInt64(Number.MIN_SAFE_INTEGER);
115 testInt64(Number.MAX_SAFE_INTEGER);
118 testInt64(-Math.pow(2, 63) + (Math.pow(2, 9) + 1));
119 testInt64(Math.pow(2, 63) - (Math.pow(2, 9) + 1));
122 testInt64(-Number.MIN_VALUE, 0);
123 testInt64(Number.MIN_VALUE, 0);
124 testInt64(-Number.MAX_VALUE, RANGEERROR_NEGATIVE);
125 testInt64(Number.MAX_VALUE, RANGEERROR_POSITIVE);
128 testInt64(-Math.pow(2, 63) + (Math.pow(2, 9)), RANGEERROR_NEGATIVE);
129 testInt64(Math.pow(2, 63) - (Math.pow(2, 9)), RANGEERROR_POSITIVE);
132 testInt64(Number.POSITIVE_INFINITY, 0);
133 testInt64(Number.NEGATIVE_INFINITY, 0);
134 testInt64(Number.NaN, 0);