hg: jdk8/tl/jdk: 8010430: Math.round has surprising behavior for odd values of ulp 1
brian.burkhalter at oracle.com
brian.burkhalter at oracle.com
Thu Sep 12 20:23:13 UTC 2013
Changeset: 917fffe971c8
Author: bpb
Date: 2013-09-11 17:07 -0700
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/917fffe971c8
8010430: Math.round has surprising behavior for odd values of ulp 1
Summary: If the effective floating point exponent is zero return the significand including the implicit 1-bit.
Reviewed-by: bpb, darcy, gls
Contributed-by: Dmitry Nadezhin <dmitry.nadezhin at oracle.com>
! src/share/classes/java/lang/Math.java
! src/share/classes/java/lang/StrictMath.java
! test/java/lang/Math/RoundTests.java
More information about the security-dev
mailing list