Set the value of a particular multi-precision digit in a large number.
Signature
void SetDigit( size_t index, digit_t value )
Parameters
Name
Type
Description
index
size_t
The index of the multi-precision digit to be set. The index is zero relative,
beginning with the least signific digit.
Returns
( none )
Example
ln X;
...
X.SetDigit( 12, 12398137 );
Notes
This function does not adjust the size of the large number. If you set the value
of a digit that is not used, the value of the large number will appear to be unchanged.
It is the programmer's responsibility to adjust the size of the large number
appropriately. See GetSize, and SetSize.