Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

DREAL

Elemental Intrinsic Function (Specific): Converts the real part of a double complex argument to double-precision type. This is a specific function that has no generic function associated with it. It cannot be passed as an actual argument.

result = DREAL (a)

a

(Input) Must be of type double complex (COMPLEX(8) or COMPLEX*16).

Results

The result type is double precision real (REAL(8) or REAL*8).

Example

DREAL ((2.0d0, 3.0d0)) has the value 2.0d0.

See Also