def DivSmallSigned.quotient
import bend-collections-laws-crypto@1.0.0.0/spec/math/u64.bend as U64import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/numeric.bend as N
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as U
52def DivSmallSigned.quotient(+a: U.U64, +d: U32, +hd0: {U32.is_zero(d) == False{} : Bool}, +hle: {U32.is_le(d, 1048576) == True{} : Bool}) -> Type:
53 {bits(U.div_small_signed(a, d)) == signed_quotient(bits(a), N.negative(bits(a)), d) : Word(64n)}
Uses (10)
Used by (0)
No other definition uses this definition.