def dm_pick

bend-collections@1.0.0.0 · src/math/w64.bend:360

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

360def dm_pick(+a: W.U64, +b: W.U64, small: Bool) -> W.U64 & W.U64:
361  match small:
362    case True{}:
363      dm_small(div32(a, lo(b)))
364    case False{}:
365      dm_big(a, b, q96(a, 0, b, bitlen(hi(b))))

Uses (10)

Used by (1)