Enormous digits
I've written a program which can find perfect numbers. However, my program cannot find the 8th perfect number, 2305843008139952128, and later ones since there is a limitation of number range. btw, it is written in c++.
So i wonder how to calculate numbers with enormous digits such as 10^1000000... and even larger.
You can obtain or write routines to represent and manipulate such numbers. It will of course be much slower than built-in arithmic.
Greetz,
Illco
PS: for an example check out arbitrary-sized numbers in the LEDA library
Greetz,
Illco
PS: for an example check out arbitrary-sized numbers in the LEDA library
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement