[Bug libfortran/30694] minval/maxval with +/-Inf
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 17 23:58:00 GMT 2007
------- Comment #23 from kargl at gcc dot gnu dot org 2007-10-17 23:57 -------
(In reply to comment #22)
> 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.
Read the hypot man page.
hypot(infinity, v) = hypot(v, infinity) = +infinity for all v, including
NaN.
So one can get a non-NaN when an NaN is involved in a computation.
For the task at hand, I think gfortran should be compatible with either
g95 or Intel, and because g95 and gfortran already agree the decision is
moot.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30694
More information about the Gcc-bugs
mailing list