- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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 .
- Balises:
- Intel® Fortran Compiler
Lien copié
2 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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
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
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
thank youfor your reply !

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable