[Bug fortran/96811] Power: x**(negative integer) – use libgcc variant for power raised to negative value?
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 27 16:57:14 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96811
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to kargl from comment #2)
> For real x, gfortran does not generate a call to libgfortran function.
It does – as mentioned in my email reply but not only for 'int' integers:
integer(16) :: n
real :: x, y
y = x**n
end
calls:
y = _gfortran_pow_r4_i16 (D.3904, n);
More information about the Gcc-bugs
mailing list