def U16.shl

bend-kit-int@0.2.0.0 · int.bend:1033

import bend-kit-int@0.2.0.0/int.bend as Int
import Base

1033def U16.shl(a: U16, k: Nat) -> U16:
1034  match a:
1035    case U16{x}:
1036      U16{U32.and(U32.shln(x, k), 65535)}

Uses (4)

Used by (0)

No other definition uses this definition.