How would I go about dealing with integers larger than, say, 340,282,366,920,938,463,463,374,607,431,768,211,455 in c++?
Any and all help would be greatly appreciated.
Name:
Replying to an ancient thread2010-09-21 23:35
One word: linked list. Size limit is defined by available memory. Navigating to an arbitrary digit that is not near either end will be hell regardless of what method is used since, at some point, the problem will repeat itself in the index method chosen. With this simple procedure, however, it would theoretically be possible to allow a computer with sufficient memory to incrementally count to a number that is larger thatthe number of atoms in the visible universe with perfect precision every digit of the way, eventually. It's a simple yet absurd concept with no application (yet).