mpIntLength function

int? mpIntLength(
  1. BigInt? x
)

Implementation

int mpIntLength(BigInt x) => x.bitLength ~/ 8 + 1;