Crate pow_of_2

Source
Expand description

§pow_of_2

Integer-like types which can only represent powers of 2. Internally, they are stored as a one-byte exponent. This allows them to implement arithmetic operators with other, simpler artithmetic operators.

Structs§

PowOf2
Unsigned integer powers of 2.
Two
Unitary representation of 2, for PowOf2 arithmetic.

Traits§

UInt