Home
last modified time | relevance | path

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

/external/v8/test/mjsunit/
Dint32-ops.js35 const ONE_HUNDRED = 100; constant
70 assertEquals(SMI_MAX + ONE_HUNDRED, Add100(SMI_MAX), "smimax + 100");
71 assertEquals(SMI_MAX + ONE_HUNDRED, Add100Reversed(SMI_MAX), " 100 + smimax");
72 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi
73 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi
103 assertEquals(SMI_MIN - ONE_HUNDRED, Sub100(SMI_MIN)); // overflow
104 assertEquals(ONE_HUNDRED - SMI_MIN, Sub100Reversed(SMI_MIN)); // overflow
105 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi
106 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi
Dsmi-ops-inlined.js33 const ONE_HUNDRED = 100; constant
68 assertEquals(SMI_MAX + ONE_HUNDRED, Add100(SMI_MAX), "smimax + 100");
69 assertEquals(SMI_MAX + ONE_HUNDRED, Add100Reversed(SMI_MAX), " 100 + smimax");
70 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi
71 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi
101 assertEquals(SMI_MIN - ONE_HUNDRED, Sub100(SMI_MIN)); // overflow
102 assertEquals(ONE_HUNDRED - SMI_MIN, Sub100Reversed(SMI_MIN)); // overflow
103 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi
104 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi
Dsmi-ops.js31 const ONE_HUNDRED = 100; constant
66 assertEquals(SMI_MAX + ONE_HUNDRED, Add100(SMI_MAX), "smimax + 100");
67 assertEquals(SMI_MAX + ONE_HUNDRED, Add100Reversed(SMI_MAX), " 100 + smimax");
68 assertEquals(42 + ONE_HUNDRED, Add100(OBJ_42)); // non-smi
69 assertEquals(42 + ONE_HUNDRED, Add100Reversed(OBJ_42)); // non-smi
99 assertEquals(SMI_MIN - ONE_HUNDRED, Sub100(SMI_MIN)); // overflow
100 assertEquals(ONE_HUNDRED - SMI_MIN, Sub100Reversed(SMI_MIN)); // overflow
101 assertEquals(42 - ONE_HUNDRED, Sub100(OBJ_42)); // non-smi
102 assertEquals(ONE_HUNDRED - 42, Sub100Reversed(OBJ_42)); // non-smi