[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Pretty printing serialization
- From: RLake@...
- Date: Wed, 17 Mar 2004 13:01:23 -0500
> I was pleasantly surprised just now to find that tonumber( "nan" ) does
> right thing. Similarly for the infinities. So, one could dump numbers by
> testing for the special cases and writing out an appropriate tonumber
It is completely dependent on the underlying C library. On mine, C9x style
hexadecimal floating point works, too, which would be a nice addition
to the Lua grammar.