Re: [math] About Math.round

2015-01-17 Thread Phil Steitz
On 1/14/15 6:25 AM, ntysdd wrote:
 Hi,
   I found Oracle has changed the specification of Math.round and
 StrictMath.round.
   See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6430675
   These methods had surprising behavior for some values. (The bug
 report didn't mention that, but these methods would fail also on large
 integers. I believe Java 7 still have this bug.)
   Does commons math plan to change the behavior?

Thanks for sharing this.  I just opened [1] to track the issue.  We
can decide to resolve as WONT_FIX if we want; but I think we should
follow the BZ report and on first read I am inclined to try to fix it.

Phil

 -
 To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
 For additional commands, e-mail: user-h...@commons.apache.org




-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [math] About Math.round

2015-01-17 Thread Phil Steitz
On 1/17/15 10:55 AM, Phil Steitz wrote:
 On 1/14/15 6:25 AM, ntysdd wrote:
 Hi,
   I found Oracle has changed the specification of Math.round and
 StrictMath.round.
   See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6430675
   These methods had surprising behavior for some values. (The bug
 report didn't mention that, but these methods would fail also on large
 integers. I believe Java 7 still have this bug.)
   Does commons math plan to change the behavior?
 Thanks for sharing this.  I just opened [1] to track the issue.  We
 can decide to resolve as WONT_FIX if we want; but I think we should
 follow the BZ report and on first read I am inclined to try to fix it.

 Phil

Sorry, forgot the URL

[1] https://issues.apache.org/jira/browse/MATH-1196
 -
 To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
 For additional commands, e-mail: user-h...@commons.apache.org




-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org