Biggest float number?

Joshua Marshall jmarshal at
Tue Mar 27 00:19:22 CEST 2001

C. S. Xu <xu.20 at> wrote:
> Hi all,

> 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?

One possible workaround is to use a pair of long ints as numerator and
denominator of a rational number.

More information about the Python-list mailing list