[Bug fortran/57749] -ffpe-trap=zero or invalid produces SIGFPE on complex zero ** 1e0

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 2 18:16:00 GMT 2013


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

--- Comment #20 from Vittorio Zecca <zeccav at gmail dot com> ---
I did try Intel ifort and NAG nagfor, as I already wrote, and also
Solaris sunf90,
and all of them accept complex zero raised to an integer or real power
greater than zero, without raising any exception end delivering zero,
the result I expected.
It also works with a complex exponent whose real part is greater than zero,
and zero imaginary part.
I have not xlf, so I could not try it.
Also, I understand the responsibility for the exponentiation behaviour
is in glibc, not gfortran,
so we may well close the discussion here.



More information about the Gcc-bugs mailing list