------- Comment #3 from pinskia at gcc dot gnu dot org 2007-02-03 20:27 ------- > I think the standard not really defines what happens for -INF, INF or NAN. > nagf95, g95 and sunf95 also return +HUGE() not +INF. > What should be the result of minval( [ INF, NAN ] ) or of minval([4, NAN]) ?
The Fortran 2003 standard might define what happens with the IEEE real types but other than that I don't think INF/NAN exists really in fortran's real types. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30694