[cp-patches] FYI: Point.setLocation() fix

Tom Tromey tromey at redhat.com
Tue Jun 27 15:33:36 UTC 2006


>>>>> "David" == David Gilbert <david.gilbert at object-refinery.com> writes:

David> +    this.x = (int) Math.floor(x + 0.5);
David> +    this.y = (int) Math.floor(y + 0.5);

Math.round()?
Or maybe Math.rint()?

Tom



More information about the Classpath-patches mailing list