lua-users home
lua-l archive

Re: integer overflow vs float overflow

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





On Tue, May 12, 2015 at 5:51 PM, Coda Highland <chighland@gmail.com> wrote:
Lua stores floats in their native format. There is no difference
between a C 1.#INF00 and a Lua inf.

Yes I was already assuming that. I meant was that printf displays 1.#INF00 while lua print displays inf. So does it mean that the print functions are responsible for showing the different outputs rather than the native representation of the large float?
 

AltStyle によって変換されたページ (->オリジナル) /