Method in arith · Wrapping coil-stdlib

Wrapping::wrapping_shl

fn wrapping_shl(S a, int n) -> S
Import
use arith::{Wrapping};
Source: src/arith.hy

a << (n & 63): the count is taken modulo 64.

Parameters#

NameType
aS
nint

Returns#

S

See also#

↑ ↓ navigate ↵ open