Method in arith · Overflowing coil-stdlib

Overflowing::overflowing_shl

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

a << (n & 63), and whether n was outside 0..=63.

Parameters#

NameType
aS
nint

Returns#

(S, bool)

See also#

↑ ↓ navigate ↵ open