def fmod_fin

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

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

1076def fmod_fin(+x: F64, +y: F64, far: Bool) -> F64:
1077  match far:
1078    case True{}:
1079      x
1080    case False{}:
1081      round_w(signbit(x), dexp(y), X.psnd(fm_qr(x, y)))

Uses (7)

Used by (1)