Function equiv_0
Source pub fn equiv_0(value: f64, n: f64) -> bool
Expand description
Test whether a value is approximately 0 modulo n
§Arguments
value (f64) - The value to test.
n (f64) - The modulus value.
§Returns
bool - true if the value is approximately 0 modulo n, otherwise false.
§Panics
Panics if n is zero or not finite.