def shr_jam

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

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

541# a >> k with the bits shifted out OR-ed into bit 0 (SoftFloat's
542# shiftRightJam64)
543def shr_jam(+a: W.U64, +k: Nat) -> W.U64:
544  jam_pick(a, k, Nat.is_le(64n, k))

Uses (4)

Used by (4)