js_sys::Math

Function clz32

Source
pub fn clz32(x: i32) -> u32
Expand description

The Math.clz32() function returns the number of leading zero bits in the 32-bit binary representation of a number.

MDN documentation