On 03/28/2011 10:23 AM, Alexander Graf wrote: > I just checked the macros there and it looks like > float32_compare_quiet returns eq when both numbers are NaN.
No it doesn't -- a == b will never be true for either operand as NaN. Have a look at the "real" softfloat version anyway, not the softfloat-native version. This is hiding behind macros; look for "float ## s ## _compare_internal". r~