the type to view the underlying representation as
The nth number to retrieve. Must be less than ulongLength or uintLength with respect to T.
The nth ulong in the representation of this BigInt.
auto a = BigInt("1000"); assert(a.ulongLength() == 1); assert(a.getDigit(0) == 1000); assert(a.uintLength() == 1); assert(a.getDigit!uint(0) == 1000); auto b = BigInt("2_000_000_000_000_000_000_000_000_000"); assert(b.ulongLength() == 2); assert(b.getDigit(0) == 4584946418820579328); assert(b.getDigit(1) == 108420217); assert(b.uintLength() == 3); assert(b.getDigit!uint(0) == 3489660928); assert(b.getDigit!uint(1) == 1067516025); assert(b.getDigit!uint(2) == 108420217);
Gets the nth number in the underlying representation that makes up the whole BigInt.