This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/30694] minval/maxval with +/-Inf



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]