Searched defs:floorMod (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
H A DMath.java1059 * @see #floorMod(int, int)
1093 * @see #floorMod(long, long)
1114 * The relationship between {@code floorDiv} and {@code floorMod} is such that:
1116 * <li>{@code floorDiv(x, y) * y + floorMod(x, y) == x}
1119 * The difference in values between {@code floorMod} and
1127 * of {@code floorMod} and the {@code %} operator are the same. <br>
1129 * <li>{@code floorMod(4, 3) == 1}; &nbsp; and {@code (4 % 3) == 1}</li>
1133 * <li>{@code floorMod(+4, -3) == -2}; &nbsp; and {@code (+4 % -3) == +1} </li>
1134 * <li>{@code floorMod(-4, +3) == +2}; &nbsp; and {@code (-4 % +3) == -1} </li>
1135 * <li>{@code floorMod(
1150 public static int floorMod(int x, int y) { method in class:Math
1177 public static long floorMod(long x, long y) { method in class:Math
[all...]
H A DStrictMath.java871 * The relationship between {@code floorDiv} and {@code floorMod} is such that:
873 * <li>{@code floorDiv(x, y) * y + floorMod(x, y) == x}
876 * See {@link Math#floorMod(int, int) Math.floorMod} for examples and
883 * @see Math#floorMod(int, int)
887 public static int floorMod(int x, int y) { method in class:StrictMath
888 return Math.floorMod(x , y);
897 * The relationship between {@code floorDiv} and {@code floorMod} is such that:
899 * <li>{@code floorDiv(x, y) * y + floorMod(x, y) == x}
902 * See {@link Math#floorMod(in
913 public static long floorMod(long x, long y) { method in class:StrictMath
[all...]

Completed in 51 milliseconds