GNU Fortran, MinGW 4.8.1
IDE: Code Blocks 13.12
File ext: .f90
program hello
implicit none
COMPLEX rk
rk=2*0
rk = rk **4 ! Ok
rk = rk **4. ! NaN
end program
How to make powers of complex with float exponent without resulting in NaN?
Compiled with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.