The value of x - n * y, where n is the quotient rounded to nearest even of the division x / y
InvalidOperationException | x or y is signaling NaN, x = ±∞, y = ±0.0 |
UnderflowException | result is too small to be represented |
DivisionByZeroException | y = 0.0 |
InexactException | the result is inexact |
x | y | remainder(x, y) |
---|---|---|
NaN | any | NaN |
any | NaN | NaN |
±∞ | any | NaN |
any | 0.0 | NaN |
any | ±∞ | NaN |
Calculates the remainder of the division x / y