remainderD function

double remainderD (double dividend, double divisor)

Remainder (% operator). The result has the sign of the dividend.

Implementation

double remainderD(double dividend, double divisor) =>
    dividend.remainder(divisor);