[Bug fortran/57749] -ffpe-trap=zero or invalid produces SIGFPE on complex zero ** 1e0
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 1 14:53:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57749
--- Comment #14 from Andreas Schwab <schwab@linux-m68k.org> ---
C11 G.6.4.1 The cpow functions
The cpow functions raise floating-point exceptions if appropriate for the
calculation of the parts of the result, and may also raise spurious
floating-point exceptions.379)
379) This allows cpow(z, c) to be implemented as cexp(c clog(z)) without
precluding implementations that treat special cases more carefully.
More information about the Gcc-bugs
mailing list