lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> According to IEEE-754, a double-precision floating point number
> supports an 11-bit exponent.

And it's 15 for quadruple precision and 19 for octuple precision,
all quite safe for signed int.

https://en.wikipedia.org/wiki/IEEE_floating_point#Basic_and_interchange_formats