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: 18 Oct 2007 00:18:44 -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 #24 from jvdelisle at gcc dot gnu dot org 2007-10-18 00:18 -------
Ok for hypot, and that may make sense knowing the nature of the function.
Minval is not a complex or transcendental function. I should not write in
loose general terms.
So maybe approach the question differently. Which element in an array of NaNs
is the smallest one and what is its value? If I pick any one element, its
"value" is NaN. It does not matter which one I select, its "value" always
comes out NaN.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30694