Hello!
The javadoc for the method Math.floorMod(int, int) [1] contains an
inaccuracy.
There are two sets of examples given: One for the case when signs of
the arguments are the same and the other for the case when signs of the
arguments are different.
The second set of examples wrongly contains an example from the first set.
Would you please help review this javadoc-only fix?
BUGURL: https://bugs.openjdk.java.net/browse/JDK-8233650
WEBREV: http://cr.openjdk.java.net/~igerasim/8233650/00/webrev/
[1]
https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Math.html#floorMod(int,int)
--
With kind regards,
Ivan Gerasimov