remainder

Computes the remainder of the floating point division.

Note: As opposed to fmod, the return value is not guaranteed to be the same sign as x.

Parameters

x double

The base

y double

The divisor

Return Value

Type: double

The remainder of x / y.

Meta