Searched defs:floorDiv (Results 1 - 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Math.java | 994 * {@code floorDiv} and the {@code /} operator are the same. <br> 995 * For example, {@code floorDiv(4, 3) == 1} and {@code (4 / 3) == 1}.</li> 997 * {@code floorDiv} returns the integer less than or equal to the quotient 999 * For example, {@code floorDiv(-4, 3) == -2}, 1014 public static int floorDiv(int x, int y) { method in class:Math 1037 * For examples, see {@link #floorDiv(int, int)}. 1048 public static long floorDiv(long x, long y) { method in class:Math 1060 * The floor modulus is {@code x - (floorDiv(x, y) * y)}, 1065 * The relationship between {@code floorDiv} and {@code floorMod} is such that: 1067 * <li>{@code floorDiv( [all...] |
H A D | StrictMath.java | 810 * See {@link Math#floorDiv(int, int) Math.floorDiv} for examples and 818 * @see Math#floorDiv(int, int) 822 public static int floorDiv(int x, int y) { method in class:StrictMath 823 return Math.floorDiv(x, y); 834 * See {@link Math#floorDiv(int, int) Math.floorDiv} for examples and 842 * @see Math#floorDiv(long, long) 846 public static long floorDiv(long x, long y) { method in class:StrictMath 847 return Math.floorDiv( [all...] |
Completed in 6 milliseconds