DREAL(3f)

DESCRIPTION
DREAL(Z) returns the real part of complex variable Z.

STANDARD
GNU extension

CLASS
Elemental function

SYNTAX
RESULT = DREAL(A)

ARGUMENTS

A The type shall be COMPLEX(8).

RETURN VALUE
The return value is of type REAL(8).

EXAMPLE
          program test_dreal
              complex(8) :: z = (1.3_8,7.2_8)
              print *, dreal(z)
          end program test_dreal

SEE ALSO
AIMAG

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).