hg: jdk8/tl/jdk: 6282196: There should be Math.mod(number, modulo) methods

xueming.shen at oracle.com xueming.shen at oracle.com
Thu Nov 8 04:36:30 UTC 2012


Changeset: cdf02b372956
Author:    sherman
Date:      2012-11-07 20:50 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cdf02b372956

6282196: There should be Math.mod(number, modulo) methods
Summary: added the requested methods
Reviewed-by: darcy, emcmanus, alanb
Contributed-by: roger.riggs at oracle.com

! src/share/classes/java/lang/Math.java
! src/share/classes/java/lang/StrictMath.java
+ test/java/lang/Math/DivModTests.java




More information about the core-libs-dev mailing list