@wtasnorg/node-lib / countZeroesWithWidth
countZeroesWithWidth(
value,width):number
Defined in: bits.ts:94
Count zero bits within a fixed width, considering only low-order width bits.
Input value.
number |
bigint |
number
Bit width to inspect.
number
Number of zero bits in the selected width.
If value is negative/unsafe or width is negative/unsafe.