def digit
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64import 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
370def digit(+r: W.U64, +b: W.U64, +t: Nat) -> U32 & W.U64:
371 digit_fin(r, b, X.q96(W.U64{0, X.lo(r)}, X.hi(r), b, t))