Where is double complex square root function

Hi,

From the PGI Fortran Reference, there is only one “sqrt” function for both real and complex. I am not sure whether double complex is include in “complex” class or not?

Anyone can say yes or not ?

Regards,
Phoon

Under pgfortran, something declared as “double complex” is the same as something declared as “complex(kind(0d0))” and “sqrt” as a generic accepts arguments of this type.

(I say “under pgfortran”, because “double complex” is not defined by the Fortran standard.)