pub fn mulmod_stable<T: Float>(a: T, b: T, m: T) -> CoreResult<T>
Expand description
Stable computation of (a*b) % m avoiding overflow
pub fn mulmod_stable<T: Float>(a: T, b: T, m: T) -> CoreResult<T>
Stable computation of (a*b) % m avoiding overflow