hg: jdk8/tl/jdk: 7192954: Fix Float.parseFloat to round correctly and preserve monotonicity.; ...

alan.bateman at oracle.com alan.bateman at oracle.com
Fri Jun 21 13:09:41 PDT 2013


Changeset: a88f6f4d279f
Author:    bpb
Date:      2013-06-21 11:12 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/a88f6f4d279f

7192954: Fix Float.parseFloat to round correctly and preserve monotonicity.
4396272: Parsing doubles fails to follow IEEE for largest decimal that should yield 0
7039391: Use Math.ulp in FloatingDecimal
Summary: Correct rounding and monotonicity problems in floats and doubles
Reviewed-by: bpb, martin
Contributed-by: Dmitry Nadezhin <dmitry.nadezhin at oracle.com>, Louis Wasserman <lowasser at google.com>

! src/share/classes/sun/misc/FDBigInteger.java
! src/share/classes/sun/misc/FloatingDecimal.java
! test/java/lang/Double/ParseDouble.java
! test/java/lang/Float/ParseFloat.java
! test/sun/misc/FloatingDecimal/TestFDBigInteger.java



More information about the security-dev mailing list