def fmod_z

bend-collections-laws-crypto@1.0.0.0 · src/math/f64.bend:1083

import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F64
import Base

1083def fmod_z(+x: F64, +y: F64, zx: Bool) -> F64:
1084  match zx:
1085    case True{}:
1086      x
1087    case False{}:
1088      fmod_fin(x, y, Nat.is_lt(dexp(x), dexp(y)))

Uses (5)

Used by (1)