Remainder (% operator). The result has the sign of the dividend.
double remainderD(double dividend, double divisor) => dividend.remainder(divisor);