Commit e2e70dc8 authored by Robert Bradshaw's avatar Robert Bradshaw

More overflow test fixes.

parent 037aae45
...@@ -51,10 +51,10 @@ def run_test(func, op): ...@@ -51,10 +51,10 @@ def run_test(func, op):
check(func, op, min_value_ + 1, 2 - offset) check(func, op, min_value_ + 1, 2 - offset)
for offset in range(9): for offset in range(9):
check(func, op, max_value_ / 2, offset) check(func, op, max_value_ / <INT>2, offset)
check(func, op, min_value_ / 3, offset) check(func, op, min_value_ / <INT>3, offset)
check(func, op, max_value_ / 4, offset) check(func, op, max_value_ / <INT>4, offset)
check(func, op, min_value_ / 5, offset) check(func, op, min_value_ / <INT>5, offset)
if is_signed_: if is_signed_:
check(func, op, max_value_ / 2, 4 - offset) check(func, op, max_value_ / 2, 4 - offset)
check(func, op, min_value_ / 3, 4 - offset) check(func, op, min_value_ / 3, 4 - offset)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment