def NRd

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/f64fmod.bend:453

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod.bend as F64fmod
import Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as SF
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F

453def NRd(+s: Bool, +a: Nat, +b: Nat, +m1: Nat, +m2: Nat) -> F.F64:
454  SF.round(s, Nat.mod(C.shift(Nat.sub(a, b), m1), m2), b)

Uses (7)

Used by (3)