pub fn gray_decode(g: u64) -> u64
Inverts gray_code: returns the n whose Gray code is g.
gray_code
n
g