msb_32
msb_32(x) ⇒ number
get most significant set bit
Kind: global function
Returns: number
- integer position of most significant bit
See: https://graphics.stanford.edu/~seander/bithacks.html
Param | Type | Description |
---|---|---|
x | number | 32 bit integer |