A COMPLEX(4) constant is a pair of integer or singleprecision real constants that represent a complex number.
A COMPLEX(4) constant occupies eight bytes of memory and is interpreted as a complex number.
If the real and imaginary part of a complex literal constant are both real, the kind parameter value is that of the part with the greater decimal precision.
The rules for REAL(4) constants apply to REAL(4) constants used in COMPLEX constants. (See Sections 3.1.2.1 and 3.1.2.2 for the rules on forming REAL(4) constants.)
The REAL(4) constants in a COMPLEX constant have one of the following formats:
Examples
The following examples demonstrate valid and invalid COMPLEX(4) constants:
Valid  
(1.7039,1.70391) 

(44.36_4,12.2E16_4)
 
(+12739E3,0.)  
(1,2)  
Invalid  Explanation 
(1.23,)  Missing second integer or singleprecision real constant. 
(1.0, 2H12) 
Hollerith constant not allowed. 
For More Information: