def fmod
import bend-collections@1.0.0.0/src/math/f64.bend as F64import Base
1104# x - n y for n = trunc(x / y), exact, with the sign of x (C's fmod)
1105def fmod(+x: F64, +y: F64) -> F64:
1106 fmod_bad(x, y, Bool.or(Bool.or(unordered(x, y), is_inf(x)), is_zero(y)))
Uses (6)
Used by (0)
No other definition uses this definition.