bigIntLog2
bigIntLog2(
value):number
Defined in: packages/core/src/big-int/log2.ts:9
Floor of log₂ for a positive value, with none of the rounding Math.log2
introduces once the value leaves the exactly-representable range.
Parameters
Section titled “Parameters”bigint
Returns
Section titled “Returns”number
Throws
Section titled “Throws”When value is zero or negative.