pub fn mask(x: i64) -> Option<i64>Expand description
The mask whose bitwise and with an integer y gives y’s residue modulo x, where x is a positive power of two: x - 1. In two’s complement, y ∧ (x - 1) is y - x⌊y/x⌋ for every y of every width. None for any other x.