How to Code a Solution To Deal With Large Numbers?
I'm doing some Project Euler problems and most of the time, the computations involve large numbers beyond int, float, double etc. Firstly, I know that I should be looking for more efficient ways of calculation so as to avoid the large number problem. I've heard of the Bignum libraries. But, for academics interests, I'd like to know how to code my own solution to this problem. Can any expert please help me out? (My language is C) You need to store the big numbers in a base that your computer can easily handle with its native types, and then store the digits in a variable length array. I'd