def Div32.rem

bend-collections-laws-math@1.0.0.0 · spec/math/w64.bend:83

import bend-collections-laws-math@1.0.0.0/spec/math/w64.bend as W64
import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X

83def Div32.rem(+a: W.U64, +d: U32, +hd: {U32.is_zero(d) == False{} : Bool}) -> Type:
84  {U32.to_nat(X.snd_r(X.div32(a, d))) == Nat.mod(value(a), U32.to_nat(d)) : Nat}

Uses (10)

Used by (1)