[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (rc7) now available
- From: liam mail <liam.list@...>
- Date: Fri, 9 Dec 2011 20:09:18 +0100
On Friday, 9 December 2011, Roberto Ierusalimschy <email@example.com> wrote:
>> and the simple tests:
>> > print(2^3 - 8)
>> > print(3^4 - 81)
>> > =2^4-16
> These all should be zero. It really seems that the 'pow' function
> from the C library is broken.
> -- Roberto
It is not broken yet produces results which are very close to zero which is all you can expect with floating point calculations.