A COMPLEX(16) constant is a pair of constants that represents a complex number. One of the pair must be a REAL(16) constant, the other can be an integer, single-precision real, or double-precision real constant.
A COMPLEX(16) constant occupies 32 bytes of memory and is interpreted as a complex number.
The rules for REAL(16) constants apply to REAL(16) constants used in COMPLEX constants. (See Sections 188.8.131.52 and 184.108.40.206 for the rules on forming REAL(16) constants.)
The REAL(16) constants in a COMPLEX constant have one of the following formats:
The following examples demonstrate valid and invalid COMPLEX(16) constants:
||Second constant missing.|
||Hollerith constants not allowed.|
||Neither constant is REAL(16); this is a valid double-precision constant.|
For More Information: