def u64_wrapping_shr

bend-collections-laws-math@1.0.0.0 · src/math/fixed.bend:384

import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixed
import 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

384def u64_wrapping_shr(+a: W.U64, +s: U32) -> W.U64:
385  X.shr(a, U32.to_nat(U32.and(s, 63)))

Uses (5)

Used by (3)