Function pecsim::amod

Function Documentation

double pecsim::amod(double x, double y)

Computes the modulus of x with respect to y.

Parameters:
  • x – the value to compute the modulus for

  • y – the divisor

Returns:

double the result of x mod y