improve vmin/vmax for IDIV (#9678)

This commit is contained in:
chenyu
2025-04-01 23:16:01 -04:00
committed by GitHub
parent 8dd88ad476
commit c672716b38
4 changed files with 32 additions and 9 deletions

View File

@@ -70,7 +70,7 @@ if __name__ == "__main__":
v = [v1,v2,v3]
rn = 0
for t,r in zip(tape, rngs): rn, _ = t(rn, r)
num = eval(expr.render())
num = eval(expr.render(simplify=False))
if num != rn:
unsimplified_num = eval(expr.render(simplify=False))
assert unsimplified_num == rn, "UNSIMPLIFIED MISMATCH!"