[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sums with BIG numbers




Sherry Mayo writes:
> Can anyone point me to any books, documentation or
> whatever that will explain the methods used in routines
> like bignum for doing sums with 'too-big' numbers.
> 
> I'm having a tough time trying to figure it out from the code 
> ;-(

The best book to read is, of course, Volume 2 of Knuth's "Art of
Computer Programming". Many of the algorithms in use today are a bit
snazzier but Knuth explains all the general principles of how such
things are done.

BTW, any good hacker should own all three published volumes. Its *the*
classic.

Perry