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 fortran/32048] max / min and NaN



------- Comment #2 from dfranke at gcc dot gnu dot org  2007-05-22 22:41 -------
Regardless whether NaN is defined, in an ordered set MAX(a, b) should always
equal MAX(b, a).

For the record:
$> ifort pr32048.f90 && ./a.out
   2.100000
   2.100000

$> sunf95 -w4 pr32048.f90 && ./a.out
Floating point exception


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32048


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