Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

an extension to standard Fortran 95

tnd
Beginner
529 Views
In my program , I want to compute an exponential value of a double precision complex, and I use the intrinsic function CDEXP , however, the Intel Fortran Complier says:
"Warning 39 : This intrinsic function is an extension to standard Fortran 95" .
so, what is the matter with my program? Is the CDEXP wrong ?
Please help me, and thank you .
0 Kudos
2 Replies
larsm
Beginner
529 Views
There is nothing wrong with your program. But as the compiler states, CDEXP IS an extension to the Fortran (90, 95 and forthcoming 2003) standard.
If you want to be standard compliant simply use EXP. It has got all the advantages: it is generic (whatever KIND you supply as argument, it will return a function value of the same KIND) and it is elemental: If you input a scalar it will return a scalar, if you input an array of any shape it will return an array of the same shape. And you don't have to remember all the specific names for the EXP function like CDEXP.

Best wishes
LarsM
0 Kudos
tnd
Beginner
529 Views
thank youfor your reply !
0 Kudos
Reply