Home
last modified time | relevance | path

Searched refs:two_32 (Results 1 – 3 of 3) sorted by relevance

/external/v8/test/mjsunit/
Dsmi-ops-inlined.js350 var two_32 = 0x100000000;
351 var neg_32 = -two_32;
352 assertEquals(pos_non_smi, (two_32 + pos_non_smi) >> 0);
353 assertEquals(pos_non_smi, (two_32 + pos_non_smi) >>> 0);
354 assertEquals(pos_non_smi, (two_32 + pos_non_smi) << 0);
358 assertEquals(pos_smi, (two_32 + pos_smi) >> 0, "2^32+possmi >> 0");
359 assertEquals(pos_smi, (two_32 + pos_smi) >>> 0, "2^32+possmi >>> 0");
360 assertEquals(pos_smi, (two_32 + pos_smi) << 0, "2^32+possmi << 0");
365 assertEquals(pos_non_smi / 2, (two_32 + pos_non_smi) >> 1);
366 assertEquals(pos_non_smi / 2, (two_32 + pos_non_smi) >>> 1);
[all …]
Dsmi-ops.js357 var two_32 = 0x100000000;
358 var neg_32 = -two_32;
359 assertEquals(pos_non_smi, (two_32 + pos_non_smi) >> 0);
360 assertEquals(pos_non_smi, (two_32 + pos_non_smi) >>> 0);
361 assertEquals(pos_non_smi, (two_32 + pos_non_smi) << 0);
365 assertEquals(pos_smi, (two_32 + pos_smi) >> 0, "2^32+possmi >> 0");
366 assertEquals(pos_smi, (two_32 + pos_smi) >>> 0, "2^32+possmi >>> 0");
367 assertEquals(pos_smi, (two_32 + pos_smi) << 0, "2^32+possmi << 0");
372 assertEquals(pos_non_smi / 2, (two_32 + pos_non_smi) >> 1);
373 assertEquals(pos_non_smi / 2, (two_32 + pos_non_smi) >>> 1);
[all …]
Dsin-cos.js191 var two_32 = Math.pow(2, -32); variable
198 assertEquals(two_32, Math.sin(two_32));
199 assertEquals(-two_32, Math.sin(-two_32));
206 assertEquals(1, Math.cos(two_32));
207 assertEquals(1, Math.cos(-two_32));
224 assertEquals(two_32, Math.tan(two_32));
225 assertEquals(-two_32, Math.tan(-two_32));