Skip to main content

mask

Function mask 

Source
pub const fn mask(source: usize) -> i64
Expand description

The value that enables one source when written to ie.

A power of three, not of two, because the position is a trit position: enabling source k means putting a +1 in trit k.