[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luajit FFI cdata problem
- From: "Dimiter \"malkia\" Stanev" <malkia@...>
- Date: Wed, 30 Mar 2011 11:07:25 -0700
wouldnt ffi.C.memcmp() help?
But for floating types (single, double) equality would fail if the
floats are nan, even if they are the same binary value.
On 3/30/2011 10:06 AM, Daurnimator wrote:
On 31 March 2011 03:53, Mike Pall<firstname.lastname@example.org> wrote:
Those docs still don't explain why they have an identity crisis...
assert (a==a) -- Blows up
Look at the error message. You can compare two pointers, but not
But surely you can see that the aggregates are the same type, and
located at the same place in memory: how could they ever not be equal?