Biggest float number?

Moshe Zadka moshez at zadka.site.co.il
Tue Mar 27 00:56:38 CEST 2001


On Mon, 26 Mar 2001 16:58:32 -0500, "C. S. Xu" <xu.20 at nd.edu> wrote:

> It seems the biggest floating number in Python can be:
>     2.**1024 - 1.
> which is about 1.8E308. Is there any way to get bigger value than this,
> just like long intergers almost have no limits?

<shameless promotion>
you can try my Rational numbers module at http://moshez.org/Rational.py.
It's for rationals, not floats, but it does support non-integers to
unbounded precision and size.
</shameless promotion>
-- 
"I'll be ex-DPL soon anyway so I'm        |LUKE: Is Perl better than Python?
looking for someplace else to grab power."|YODA: No...no... no. Quicker,
   -- Wichert Akkerman (on debian-private)|      easier, more seductive.
For public key, finger moshez at debian.org  |http://www.{python,debian,gnu}.org




More information about the Python-list mailing list