lua-users home
lua-l archive

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


>> > =2^4-16
>> -1.7763568394003e-015
>
> These all should be zero. It really seems that the 'pow' function
> from the C library is broken.

Maybe "broken" is not the correct word. It seems more to be "imprecise".
Is there any C specification that says that pow(2., 4.) - 64. shall be
*exactly* zero ?