[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4)
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 7 Oct 2015 19:28:28 +0200
On Wed, Oct 7, 2015 at 7:01 PM, Andrew Starks <andrew.starks@trms.com> wrote:
> One question: In a human readable format, how would you represent
> floating point numbers that don't have a perfect string
> representation?
Well, most floating-point numbers don't have an exact representation
in 64-bits anyway. There are the 'specials' INF and NAN but they can
be special-cased.
It's the old trade-off between efficiency and discoverability, really.
Diagnosing problems with binary formats is harder.
- References:
- Re: [ANN] luaproc 1.0-4, Rena
- Re: [ANN] luaproc 1.0-4, Andrew Starks
- The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Sean Conner
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Coda Highland
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Thijs Schreijer
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Coda Highland
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Thijs Schreijer
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Rena
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Thijs Schreijer
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Andrew Starks
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Sean Conner
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Andrew Starks
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), steve donovan
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Andrew Starks