Skip to main content

shl

Function shl 

Source
pub fn shl(x: u64, n: u32) -> u128
Expand description

x · 2ⁿ, exactly: below 2¹⁰¹, so it never overflows the u128.