Function pecsim::amod¶
Defined in File math_utils.cc
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