the current number of limbs.
BigInt.getDigit
T getDigit(T = ulong)(size_t n) const pure nothrow @nogc @safeReturns the n-th digit (limb) of the BigInt magnitude.
This method provides access to the internal representation of the BigInt as an array of digits (limbs) in little-endian order.
Parameters
n | The index of the digit to retrieve (0-based) |
Returns
The n-th digit as type T (default ulong). Returns 0 if n is beyond