def u64_wrapping_shl

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

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

375def u64_wrapping_shl(+a: W.U64, +s: U32) -> W.U64:
376  X.shl(a, U32.to_nat(U32.and(s, 63)))

Uses (5)

Used by (3)