QCMPLX(X, Y) (IBM extension)

Purpose

Convert to extended complex type.

Class

Elemental function

Argument type and attributes

X
An INTENT(IN) INTEGER, REAL, or COMPLEX
Y (optional)
An INTENT(IN) INTEGER or REAL. It must not be present if X is of type COMPLEX.

Result type and attributes

It is of type extended complex.

Result value

Examples

QCMPLX (-3) has the value (-3.0Q0, 0.0Q0).

Specific Name Argument Type Result Type Pass As Arg?
QCMPLX REAL(16) COMPLEX(16) no

Related information

CMPLX(X, Y, KIND), DCMPLX(X, Y) (IBM extension).