gleam/bitwise
A set of functions for bitwise operations on integers.
Functions
pub fn exclusive_or(x: Int, y: Int) -> Int
Calculates the bitwise XOR of its arguments.
pub fn shift_left(x: Int, y: Int) -> Int
Calculates the result of an arithmetic left bitshift.
pub fn shift_right(x: Int, y: Int) -> Int
Calculates the result of an arithmetic right bitshift.