Illegal result of cast.
Cast result of float -> int is incorrect.
public class FloatCastTest { public static void main(String[] args) throws Exception { float f = Integer.MAX_VALUE + 0.0f; int i = (int) f; System.out.println("f=" + f + " i=" + i); } }
Results:
f=2.1474836E9 i=-2147483648
Fixed f2i, d2i, d2f, d2l instructions.
Cast result of float -> int is incorrect.
Results: