Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/lib. A collection of common utilities I need. www.npmjs.com/package/@samual/lib
Something went wrong. Try again.
123456789export function countBigIntDigits(bigint: bigint): bigint { let digits = 0n
while (bigint > 10n ** digits) digits++
return digits}