/[Apache-SVN]
ViewVC logotype

Revision 418934


Jump to revision: Previous Next
Author: psteitz
Date: Tue Jul 4 08:09:25 2006 UTC (18 years, 3 months ago)
Changed paths: 4
Log Message:
Added a nextAfter method in MathUtils to return the next
machine-representable number in a specified direction from a given
floating point number.  Used this to ensure that MathUtils.round does
not return incorrect results for numbers with bad IEEE754 
representations.
JIRA: MATH-151
Reported by Buza Zoltán
Patch submitted by Luc Maisonobe


Changed paths

Path Details
Directoryjakarta/commons/proper/math/trunk/project.xml modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/util/MathUtils.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/util/MathUtilsTest.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/xdocs/changes.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26