Expand description
Word represents the core integer type we use as the core of Limb, and is typically the same
size as a pointer on a particular CPU.
Functionsยง
- choice_
from_ ๐eq - Returns the truthy value if
x == y, and the falsy value otherwise. - choice_
from_ ๐gt - Returns the truthy value if
x > y, and the falsy value otherwise. - choice_
from_ ๐le - Returns the truthy value if
x <= yand the falsy value otherwise. - choice_
from_ ๐lsb - Returns the truthy value if
value == 1, and the falsy value ifvalue == 0. - choice_
from_ ๐lt - Returns the truthy value if
x < y, and the falsy value otherwise. - choice_
from_ ๐mask - Returns the truthy value if
value == Word::MAX, and the falsy value ifvalue == 0. - choice_
from_ ๐msb - Returns the truthy value if the most significant bit of
valueis1, and the falsy value if it equals0. - choice_
from_ ๐nz - Returns the truthy value if
value != 0, and the falsy value otherwise. - choice_
from_ ๐wide_ le - Returns the truthy value if
x <= yand the falsy value otherwise. - choice_
to_ ๐mask - Create a
Word-sized bitmask. - choice_
to_ ๐wide_ mask - Create a
WideWord-sized bitmask. - select ๐
- Return
bifselfis truthy, otherwise returna. - select_
wide ๐ - Return
bifselfis truthy, otherwise returna.