BigInt.getDigit

T getDigit(T = ulong)(size_t n) if (is(T == ulong) || is(T == uint)) const

Gets the nth number in the underlying representation that makes up the whole BigInt.

Parameters

Tthe type to view the underlying representation as
nThe nth number to retrieve. Must be less than ulongLength or uintLength with respect to T.

Returns

The nth ulong in the representation of this BigInt.