Lines Matching refs:two_32
357 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);
374 assertEquals(-0x1194D800, (two_32 + pos_non_smi) << 1);
375 assertEquals(pos_non_smi / 8, (two_32 + pos_non_smi) >> 3);
376 assertEquals(pos_non_smi / 8, (two_32 + pos_non_smi) >>> 3);
377 assertEquals(-0x46536000, (two_32 + pos_non_smi) << 3);
378 assertEquals(0x73594000, (two_32 + pos_non_smi) << 4);
379 assertEquals(pos_non_smi, (two_32 + pos_non_smi + 0.5) >> 0);
380 assertEquals(pos_non_smi, (two_32 + pos_non_smi + 0.5) >>> 0);
381 assertEquals(pos_non_smi, (two_32 + pos_non_smi + 0.5) << 0);
382 assertEquals(pos_non_smi / 2, (two_32 + pos_non_smi + 0.5) >> 1);
383 assertEquals(pos_non_smi / 2, (two_32 + pos_non_smi + 0.5) >>> 1);
384 assertEquals(-0x1194D800, (two_32 + pos_non_smi + 0.5) << 1);
385 assertEquals(pos_non_smi / 8, (two_32 + pos_non_smi + 0.5) >> 3);
386 assertEquals(pos_non_smi / 8, (two_32 + pos_non_smi + 0.5) >>> 3);
387 assertEquals(-0x46536000, (two_32 + pos_non_smi + 0.5) << 3);
388 assertEquals(0x73594000, (two_32 + pos_non_smi + 0.5) << 4);
410 assertEquals(pos_smi / 2, (two_32 + pos_smi) >> 1);
411 assertEquals(pos_smi / 2, (two_32 + pos_smi) >>> 1);
412 assertEquals(pos_non_smi, (two_32 + pos_smi) << 1);
413 assertEquals(pos_smi / 8, (two_32 + pos_smi) >> 3);
414 assertEquals(pos_smi / 8, (two_32 + pos_smi) >>> 3);
415 assertEquals(-0x2329b000, (two_32 + pos_smi) << 3);
416 assertEquals(0x73594000, (two_32 + pos_smi) << 5);
417 assertEquals(pos_smi, (two_32 + pos_smi + 0.5) >> 0);
418 assertEquals(pos_smi, (two_32 + pos_smi + 0.5) >>> 0);
419 assertEquals(pos_smi, (two_32 + pos_smi + 0.5) << 0);
420 assertEquals(pos_smi / 2, (two_32 + pos_smi + 0.5) >> 1);
421 assertEquals(pos_smi / 2, (two_32 + pos_smi + 0.5) >>> 1);
422 assertEquals(pos_non_smi, (two_32 + pos_smi + 0.5) << 1);
423 assertEquals(pos_smi / 8, (two_32 + pos_smi + 0.5) >> 3);
424 assertEquals(pos_smi / 8, (two_32 + pos_smi + 0.5) >>> 3);
425 assertEquals(-0x2329b000, (two_32 + pos_smi + 0.5) << 3);
426 assertEquals(0x73594000, (two_32 + pos_smi + 0.5) << 5);