Visible to Intel only — GUID: GUID-2FA8E340-875E-4EA3-B6D2-4D06D1454DFE
Visible to Intel only — GUID: GUID-2FA8E340-875E-4EA3-B6D2-4D06D1454DFE
QCMPLX
Elemental Intrinsic Function (Specific): Converts an argument to COMPLEX(16) type. This function cannot be passed as an actual argument.
result = QCMPLX (x[,y])
x |
(Input) Must be of type integer, real, or complex. |
y |
(Input; optional) Must be of type integer or real. It must not be present if x is of type complex. |
The result type is COMPLEX(16) (or COMPLEX*32).
If only one noncomplex argument appears, it is converted into the real part of the result value and zero is assigned to the imaginary part. If y is not specified and x is complex, the result value is CMPLX(REAL( x), AIMAG( x)).
If two noncomplex arguments appear, the complex value is produced by converting the first argument into the real part of the value, and converting the second argument into the imaginary part.
QCMPLX( x, y) has the complex value whose real part is REAL( x, kind=16) and whose imaginary part is REAL( y, kind=16).
QCMPLX (-3) has the value (-3.0Q0, 0.0Q0).
QCMPLX (4.1, 2.3) has the value (4.1Q0, 2.3Q0).