XL Fortran for AIX 8.1

Language Reference

+-------------------------------IBM Extension--------------------------------+


DCMPLX(X, Y)

Convert to double complex type.

X
must be of type integer, real, or complex.

Y (optional)
must be of type integer or real. It must not be present if X is of type complex.

Class

Elemental function

Result Type and Attributes

It is of type double complex.

Result Value

Examples

DCMPLX (-3) has the value (-3.0D0, 0.0D0).


Specific Name Argument Type Result Type Pass As Arg?
DCMPLX double precision real double complex no

Related Information

CMPLX(X, Y, KIND), QCMPLX(X, Y).

+----------------------------End of IBM Extension----------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]