Java大数类 BigInteger
package bigint; /** * This class encapsulates a BigInteger, i.e. a positive or negative integer * with any number of digits, which overcomes the computer storage length * limitation of an integer. * */ public class BigInteger { /** * True if this is a negative integer */ boolean negative; /** * Number of digits in this integer */ int numDigits; /** * Reference to the first node of this integer's linked list representation * NOTE: The linked list stores the Least Significant Digit in the FIRST node. * For instance, the integer 235 would be stored as: 5 --> 3 --> 2 * * Insignificant digits are