DREAL — Double real part function¶
- DREAL(Z)¶
DREAL(Z)
returns the real part of complex variableZ
.- Parameters
A – The type shall be
COMPLEX(8)
.- Returns
The return value is of type
REAL(8)
.
Standard:
GNU extension
Class:
Elemental function
Syntax:
RESULT = DREAL(A)
Example:
program test_dreal complex(8) :: z = (1.3_8,7.2_8) print *, dreal(z) end program test_dreal
See also:
AIMAG