Skip to main content

choice_from_msb

Function choice_from_msb 

Source
pub(crate) const fn choice_from_msb(value: Word) -> Choice
Expand description

Returns the truthy value if the most significant bit of value is 1, and the falsy value if it equals 0.