Trait fixed_bigint::MachineWord
source · [−]pub trait MachineWord: PrimInt + OverflowingAdd + OverflowingSub + From<u8> + BitAndAssign + BitOrAssign + BitXorAssign {
type DoubleWord: PrimInt;
fn to_double(self) -> Self::DoubleWord;
fn from_double(word: Self::DoubleWord) -> Self;
fn to_ne_bytes(self) -> [u8; 8];
}
Expand description
Represents a CPU native word, from 8-bit to 32-bit, with corresponding double-word to hold multiplication/division products.