[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lujit - Malformed number
- From: Florian Weimer <fw@...>
- Date: Sun, 05 Sep 2010 08:15:11 +0200
* Rob Kendrick:
> On Sat, Sep 04, 2010 at 10:54:59PM +0200, Florian Weimer wrote:
>
>> It could be argued that tostring is lossy for tables, so it can be
>> lossy for numbers, too.
>
> Surely converting a floating point number to a string like this is
> never not going to be lossy?
The default conversion in Lua (that is, tostring) is lossy,
unfortunately.