def q_est

bend-collections-laws-crypto@1.0.0.0 · src/math/w64.bend:344

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

344def q_est(+xl: W.U64, +xh: U32, +b: W.U64, +t: Nat) -> U32:
345  est32(add(shr(xl, t), shl(W.U64{xh, 0}, Nat.sub(64n, t))), lo(shr(b, t)))

Uses (9)

Used by (5)