Function bitintr::arm::v7::clz
[−]
[src]
pub fn clz<T: Int>(x: T) -> T
Count Leading Zeros.
See abm::lzcnt
.
Example
use bitintr::arm::v7::*; assert_eq!(clz(0b0101_1010u16), 9u16); assert_eq!(0b0101_1010u16.clz(), 9u16);