|
On 30 March 2011 14:07, Dimiter "malkia" Stanev <malkia@gmail.com> wrote: > 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. Or if the struct padding happens to have different values in it. . . henk