There are several scenarios that programmers need or want to find very large numbers. They are often so large that they challenge the understanding of the programmer. I am talking about things like the largest known number of numbers (with 12978189 digits) and the recently calculated 10 trillion digits pi .
How can you create a program that processes them? This far exceeds an integer, long, double, BigInteger, BigDecimal or something like that. How to create these types of programs to detect these numbers? How can you store them in memory when the corresponding data types do not exist, and they are likely to consume gigabytes of data each?
source share