The .NET framework's BigInteger class can do that too. That's why such libraries are called "arbitrary"; the only limits to the number's magnitude are the hardware.tappatekie wrote:I have looked, but my code seems to be alot more powerful, since it can store way beyond those integers, it can even store a number which takes up 1GB of hardisk space to store the string value of the number...wtetzner wrote: Well, there are plenty of languages that support arbitrary precision integers, some only through libraries (like Java), but many as built-in types.
https://en.wikipedia.org/wiki/Arbitrary ... #Languages
Unless your code is being specially developed using a new algorithm for performing arithmetic on arbitrarily large numbers, I would advise that you use an existing library for any code that you plan to use for more than just messing about. These kinds of libraries typically use a number of optimization tricks to make working with large numbers feasible in any small period of time--special algorithms, using the CPU/ALU for 8-, 16-, 32-, 64-, and 128-bit numbers, etc.