fmod method

double fmod(
  1. double x,
  2. double y
)

Computes the floating-point remainder of x/y.

Implementation

double fmod(double x, double y) => x.remainder(y);