frem/fdiv/drem/ddiv throw ArithmeticException when the divisor is zero
Opened this issue · 1 comments
I-asked commented
See the sixth chapter of the JVM specs: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.html, for example fdiv
:
Despite the fact that overflow, underflow, division by zero, or loss of precision may occur, execution of an
fdiv
instruction never throws a run-time exception.
digitalgust commented
good, remove throw Arith exception for fdiv ddiv frem drem instructions.