 The 2008 version of the IEEE 754 standard says that and should both return 1 since they return 1 whatever else is used instead of quiet NaN.Moreover, ISO C99, and later IEEE 754-2008, chose to specify instead of qNaN; the reason of this choice is given in the C rationale