Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

rotl64

Optimized left bit rotate of b by a over u64.

Arguments

  • a - Number of rotations (0 < a <= 63).
  • b - Value to be rotated.

Returns

  • u64 - result of left rotate

Fully qualified path: alexandria_math::opt_math::rotl64

pub fn rotl64(a: u8, b: u64) -> u64