<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/82471>82471</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            NaNs do not compare false
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          gonzalobg
      </td>
    </tr>
</table>

<pre>
    I found it surprising that (see here https://cpp.godbolt.org/z/K6oTvMo69):

`qNaN == qNaN` returns true, `qNan != qNaN` returns false, and numeric_limits claims `iec559`.

Does someone know why this is the case?


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskcGOnDwQhJ-mubQWmQY8cODw_xkhRVHmlHtkoAEnxiZus6Pdp4-YTZSNlIttyV9Xl6qMiF08cwf1_1BfM3OkNcRuCf7VuDAs2RCml-4jzuHwE9qEcsQ9WrF-wbSahECNMOPKkXFNaRco_wPqgfpx3_MlTENwKQ9xAepfgfpPOnx5_hx0C9SeqLqC-n1q9eNmbgjlFcornm_QCiOnI3rBFA8G-oBvmEeg4l_YbJw8OOMn9MfG0Y5fnd1sEhydsZucCpbHum5Bq_y9g2tgQQkbB8_43Yc73tcXTKsVtIJpZRyNMJT9-6Fs6sqpLVuTcVdcVFOr8lLrbO2KsqinSQ1NNWvVtKaYioK1GbSe1cANZbYjRZUiKlRDVOp8oprLqm4VF82s5wEqxZuxLnfueTtDzKzIwV1D1aXInBnYyaM5Is93fHwC0Vlk7M6Zp-FYBCrlrCT5o5JsctzdzE1wCuhDwjFsu4n8ll52RNf9XeZi03oM-Rg2oP7U-XU97TF84zEB9Y_tAtQ_3P0MAAD__7_3uw8">