Reputation: 381
BigInteger
is used for operations on integer that actually overflow the int range (2 to the power 32), like computing factorial of 100 etc.
How does actually BigInteger
store the intermediate values or the final value?
Upvotes: 0
Views: 142
Reputation: 7779
The value is stored as an int array
int[] mag;
Use the source Luke :)
grepcode__openjdk_math_BigInteger
Upvotes: 8