Function ggstd::math::bits::rotate_left32
source · pub fn rotate_left32(x: u32, k: isize) -> u32Expand description
rotate_left32 returns the value of x rotated left by (k mod 32) bits. To rotate x right by k bits, call rotate_left32(x, -k).
This function’s execution time does not depend on the inputs.