Function bit_lowest_set_value_u64
pub fn bit_lowest_set_value_u64(a: u64) -> u64
Available on crate feature
dep_safe_arch
only.Expand description
Gets the value of the lowest set bit in a u64
.
If the input is 0 you get 0 back.
-
Formula:
(!a) & a
-
Intrinsic:
_blsi_u64
-
Assembly:
blsi r64, r64