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