hg: jdk/sandbox: 8229485: Add decrementExact(), incrementExact(), and negateExact() to java.lang.StrictMath

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Aug 23 19:00:22 UTC 2019


Changeset: 36f5e20be69a
Author:    dfuchs
Date:      2019-08-23 19:55 +0100
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/36f5e20be69a

8229485: Add decrementExact(), incrementExact(), and negateExact() to java.lang.StrictMath
Summary: three methods are added to StrictMath for consistency with Math. Tests are updated accordingly.
Reviewed-by: bpb, lancea, igerasim, dfuchs, joehw, rriggs
Contributed-by: Julia Boes <julia.boes at oracle.com>

! src/java.base/share/classes/java/lang/StrictMath.java
! test/jdk/java/lang/Math/ExactArithTests.java
! test/jdk/java/lang/StrictMath/ExactArithTests.java



More information about the jdk-sandbox-changes mailing list