lsb_32
lsb_32(v) ⇒ number
Get index of the least significant set bit Also known as ctz32 or "count trailing zeroes"
Kind: global function
See: https://graphics.stanford.edu/~seander/bithacks.html
Param | Type |
---|---|
v | number |
number
Get index of the least significant set bit Also known as ctz32 or "count trailing zeroes"
Kind: global function
See: https://graphics.stanford.edu/~seander/bithacks.html
Param | Type |
---|---|
v | number |