This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/30694] minval/maxval with +/-Inf
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2007 23:49:22 -0000
- Subject: [Bug libfortran/30694] minval/maxval with +/-Inf
- References: <bug-30694-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #22 from jvdelisle at gcc dot gnu dot org 2007-10-17 23:49 -------
Well this is just one little opinion:
There is no way that it is realistic to get a valid number out of a NaN
or a group of NaNs. It can only be NaN. It's like a place from which there is
no return. Maybe we should define a new type called "Useless" so that people
understand what a NaN is. :)
Returning anything else would mask that the array was all NaNs and give a false
sense that all is OK, when its not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30694