src/share/classes/java/lang/Math.java

Print this page

        

*** 1035,1045 **** * and the {@code /} operator returns the integer closest to zero.<br> * For example, {@code floorDiv(-4, 3) == -2}, * whereas {@code (-4 / 3) == -1}. * </li> * </ul> - * <p> * * @param x the dividend * @param y the divisor * @return the largest (closest to positive infinity) * {@code int} value that is less than or equal to the algebraic quotient. --- 1035,1044 ----