[Bug fortran/40318] Complex division by zero in gfortran returns wrong results
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Dec 19 19:46:00 GMT 2009
------- Comment #17 from kargl at gcc dot gnu dot org 2009-12-19 19:45 -------
Closing as won't fix. Currently, gfortran produces nan + i nan for
finite-complex / 0 or finite-complex / (0,0) with its FE constanting
folding and when the middle-end generates code. The Fortran standard
does not provide any guidance with respect to exceptional FP values,
and trying to get the same output of an equivalent C program is not
required by either standard.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40318
More information about the Gcc-bugs
mailing list