VMS Help FORTRAN, Data, Constants, Complex *Conan The Librarian (sorry for the slow response - running on an old VAX) |
A complex constant consists of a pair of real or integer constants. The two constants are separated by a comma and enclosed in parentheses. The first constant represents the real part of the number and the second constant represents the imaginary part. Compaq Fortran supports COMPLEX*8 and COMPLEX*16 complex constants. A COMPLEX*8 has the form: (c,c) c is an integer or REAL*4 constant A COMPLEX*16 has the form: (c,c) c is an integer, REAL*4, or REAL*8 constant (at least one of the pair must be a REAL*8 constant)
|