You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduced the issue to a self-contained, reproducible test case.
Description
In c4cfbce, a test was added to ensure that taking large Ints modulo zero does not crash Lean. However, the same test with % replaced by / still causes a Floating point exception.
#eval (2147483648 / 0) + (-0)
Expected behavior: The program should run sucessfully and print 0.
Actual behavior: The program exits abnormally with a Floating point exception.
Prerequisites
Description
In c4cfbce, a test was added to ensure that taking large
Int
s modulo zero does not crash Lean. However, the same test with%
replaced by/
still causes aFloating point exception
.Expected behavior: The program should run sucessfully and print
0
.Actual behavior: The program exits abnormally with a
Floating point exception
.Reproduces how often: 100%
Versions
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: