This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32048] max / min and NaN
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2007 21:50:47 -0000
- Subject: [Bug fortran/32048] max / min and NaN
- References: <bug-32048-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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