def shl
import bend-collections@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
245# a << k mod 2^64 for k < 64
246def shl(+a: W.U64, +k: Nat) -> W.U64:
247 shl_pick(a, k, Nat.is_lt(k, 32n))
import bend-collections@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
245# a << k mod 2^64 for k < 64
246def shl(+a: W.U64, +k: Nat) -> W.U64:
247 shl_pick(a, k, Nat.is_lt(k, 32n))