------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-22 22:50 ------- And NaN is unordered which causes the results to become undefined unless you have a defined value for min/max in the standard (fmin/fmax in C99 have a defined value of having NaN being a missing value).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32048