division

Andrew Haley aph@cambridge.redhat.com
Mon Oct 22 01:02:00 GMT 2001


Anthony Green writes:
 > Would it be safe for gcj to emit a regular division sequence
 > instead of the _Jv_divI call when the divisor is a non-zero
 > constant?

Mostly.  You also need to check for dividing Integer.MIN_VALUE.

Andrew.



More information about the Java mailing list