clz

by Ricardo Fernández Serrata

Version 1 (November 26, 2021)

Download (0 downloads)

Count leading zero bits.

Returns the number of zero-bits (to the left of) leading the most significant one-bit in number (as a 32b integer), or 32 if it’s equal to zero.

If the number is negative, the most significant set-bit is ignored because the sign bit is the leftmost bit.

`pow(2, 15)` is just a test example, your flow (or a human user) can set it (the initial value of `n`) to absolutely any value

3.0 average rating from 1 reviews

5 stars
0
4 stars
0
3 stars
1
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.