Large Numbers Requiring More than 64 bit Representation

biginteger, java

Solution

As you mentioned in your question, you should use BigInteger.

They can be as large as you need - until you run out of memory.

Problem

I am using java and have to deal with numbers larger than long (which is 64 bits). What should I use? What is the size of BigInteger in java?

Original source