Module pleco::bit_twiddles
[−]
[src]
[bit_twiddles] is the a collection of useful functions oreinted around modifying singular bits of integer types.
Functions
bit_scan_forward |
Returns index of the Least Significant Bit |
bit_scan_forward_rust_trailing |
Returns index of the Least Significant Bit |
bit_scan_reverse |
Returns index of the Most Significant Bit |
lsb |
Returns the least significant bit |
more_than_one |
Returns if there are more than one bits in a u64 |
popcount64 |
Counts the number of bits |