Re: how to add two no. of 100 digits or more?



On May 29, 11:06 pm, "Robbie Hatley" <bogus.addr...@xxxxxxx> wrote:
I just got through writing functions to add,
subtract, and multiply integers ...
(The greatest expressible number is well over
10^2000000000, which, in case
you don't realize, is so big it's no
longer "astronomical".

Here's a program at Robert Munafo's site:
http://home.earthlink.net/~mrob/pub/perl/hypercalc.txt
which operates on *much* bigger numbers than the
tiny ones you mention :-) It's written in perl;
sorry if that makes it off-topic here.

For a good time, browse around at Mr. Munafo's
site. He has some interesting pages, including
mention of some integers which are too
large even for his hypercalc program.

James Dow Allen


.