final void set ( boolean isNegative , BigInteger source , int maximumDigits ) { this . isNegative = isNegative ; String s = source . toString ( ) ; int len = s . length ( ) ; extendDigits ( len ) ; s . getChars ( 0 , len , digits , 0 ) ; decimalAt = len ; int right ; for ( right = len - 1 ; right >= 0 && digits [ right ] == ' ' ; -- right ) ; count = right + 1 ; if ( maximumDigits > 0 ) { round ( maximumDigits ) ; } }
Set the digit list to a representation of the given BigInteger value .