public static int floorDiv (int x, int y)

Returns the largest (closest to positive infinity)
` int`

value that is less than or equal to the algebraic quotient.
There is one special case, if the dividend is the
Integer.MIN_VALUE and the divisor is ` -1`

,
then integer overflow occurs and
the result is equal to the ` Integer.MIN_VALUE`

.

See `Math.floorDiv`

for examples and
a comparison to the integer division ` /`

operator.

`x` | the dividend | |

`y` | the divisor |

` int`

value that is less than or equal to the algebraic quotient.

`ArithmeticException` | if the divisor ` y` is zero |

Math.floorDiv(int, int), Math.floor(double)

Diagram: Math