On Sat, 24 Jun 2017, Andrew Pinski wrote:
* if X is NaN, we may get a qNaN with the wrong sign bit. We probably don't care much though...Ok, I changed it to when not honoring NANs.
Note that I have no idea what guarantees we give in gcc. It is quite possible that your patch is fine without this change, I only wanted to raise the question in case someone knows.
-- Marc Glisse