()
| 148 | |
| 149 | |
| 150 | def test_shl_128(): |
| 151 | with exc_iter(INT128_VALUES) as it: |
| 152 | for a, in it: |
| 153 | if a < 0: |
| 154 | b = -(((-a) << 1) & (2**128-1)) |
| 155 | else: |
| 156 | b = (a << 1) & (2**128-1) |
| 157 | c = mt.extint_shl_128(a) |
| 158 | if b != c: |
| 159 | assert_equal(c, b) |
| 160 | |
| 161 | |
| 162 | def test_shr_128(): |
nothing calls this directly
no test coverage detected