[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: largest number possible?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 13 Jun 2014 09:25:24 -0300
> is there any way to find out the largest number lua can handle?
In the default config, Lua numbers are double. So, the largest number is
(1+(1-2^-52)) x 2^1023, which is approximatey 1.7976931348623157 x 10^308.
See http://en.wikipedia.org/wiki/Double-precision_floating-point_format#Double-precision_examples .