Biggest float number?

Moshe Zadka moshez at
Tue Mar 27 00:56:38 CEST 2001

On Mon, 26 Mar 2001 16:58:32 -0500, "C. S. Xu" <xu.20 at> 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
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. Quicker,
   -- Wichert Akkerman (on debian-private)|      easier, more seductive.
For public key, finger moshez at  |http://www.{python,debian,gnu}.org

More information about the Python-list mailing list