Re: Math.round(...) and bug 6430675

2013-04-23 Thread Brian Burkhalter
FYI this came through as http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8010430. Brian On Feb 2, 2013, at 1:40 AM, Jeff Hain wrote: > > >Would you mind filing an issue so that this may be tracked? > > Done: "Math.round has surprising behavior for odd values of ulp 1" > > -Jeff >

Re: Math.round(...) and bug 6430675

2013-02-04 Thread Brian Burkhalter
Thank you! Brian On Feb 2, 2013, at 1:40 AM, Jeff Hain wrote: > >Would you mind filing an issue so that this may be tracked? > > Done: "Math.round has surprising behavior for odd values of ulp 1"

Re: Math.round(...) and bug 6430675

2013-02-02 Thread Jeff Hain
>Would you mind filing an issue so that this may be tracked? Done: "Math.round has surprising behavior for odd values of ulp 1" -Jeff

Re: Math.round(...) and bug 6430675

2013-02-01 Thread Brian Burkhalter
Hi Jeff, Based on my tests it looks as if you are correct about the behavior. Would you mind filing an issue so that this may be tracked? Thanks, Brian On Jan 31, 2013, at 1:26 PM, Jeff Hain wrote: > Hi. > > Since 6430675 fix, Math.round(float) and Math.round(double) > specs no longer specif

Math.round(...) and bug 6430675

2013-01-31 Thread Jeff Hain
Hi. Since 6430675 fix, Math.round(float) and Math.round(double) specs no longer specify rounding by adding 0.5 and then using floor, and let the user believe that they "now round up properly". However playing with fresh JDK 7 and 8 versions I saw that these methods still exhibit some suprising r