[EMAIL PROTECTED] wrote: > Hello all > It would be great if I could make a number that can go beyond current > size limitations. Is there any sort of external library that can have > infinitely huge numbers? Way way way way beyond say 5x10^350 or > whatever it is? > > I'm hitting that "inf" boundary rather fast and I can't seem to work > around it. > > Thanks! > > hmm.
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 <snip> >>> 5 * (10 ** 700) 50000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000L Do you really need more than 700 places of precision? Once your numbers are that large, surely you can use integer math, right? (FYI 5 * (10 ** 10000) works just as well. Cheers, Cliff -- http://mail.python.org/mailman/listinfo/python-list