def q96
import bend-collections@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
347# floor(x / b) for x = xh * 2^64 + xl < b * 2^32 and b >= 2^32, t = bits(hi(b))
348def q96(+xl: W.U64, +xh: U32, +b: W.U64, +t: Nat) -> U32:
349 q_start(xl, xh, b, q_est(xl, xh, b, t))