lua-users home
lua-l archive

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


On Wed, Mar 30, 2011 at 7:07 PM, Dimiter "malkia" Stanev
<malkia@gmail.com> wrote:
> But for floating types (single, double) equality would fail if the floats
> are nan, even if they are the same binary value.

In a similar vein, upon comparing floating point positive zero with
floating point negative zero, memcmp would fail when it should
succeed.