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

/libcore/ojluni/src/main/java/java/lang/
H A DMath.java1043 * {@code floorDiv} and the {@code /} operator are the same. <br>
1044 * For example, {@code floorDiv(4, 3) == 1} and {@code (4 / 3) == 1}.</li>
1046 * {@code floorDiv} returns the integer less than or equal to the quotient
1048 * For example, {@code floorDiv(-4, 3) == -2},
1063 public static int floorDiv(int x, int y) { method in class:Math
1086 * For examples, see {@link #floorDiv(int, int)}.
1097 public static long floorDiv(long x, long y) { method in class:Math
1109 * The floor modulus is {@code x - (floorDiv(x, y) * y)},
1114 * The relationship between {@code floorDiv} and {@code floorMod} is such that:
1116 * <li>{@code floorDiv(
[all...]
H A DStrictMath.java824 * See {@link Math#floorDiv(int, int) Math.floorDiv} for examples and
832 * @see Math#floorDiv(int, int)
836 public static int floorDiv(int x, int y) { method in class:StrictMath
837 return Math.floorDiv(x, y);
848 * See {@link Math#floorDiv(int, int) Math.floorDiv} for examples and
856 * @see Math#floorDiv(long, long)
860 public static long floorDiv(long x, long y) { method in class:StrictMath
861 return Math.floorDiv(
[all...]

Completed in 42 milliseconds