https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114140
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jsm28 at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- >From what I can see, the libquadmath implementation is the same as glibc's, which does return x + y; if either x or y is sNaN: https://sourceware.org/git/?p=glibc.git;a=blob;f=math/s_fmax_template.c;h=01b92600c67f7774f370810a1eea456867212ce3;hb=refs/heads/master