precision of complex numbers
Tim Prince
tprince@myrealbox.com
Sat Mar 15 01:08:00 GMT 2008
Dima Sorkin wrote:
> Hi.
> What is the portable way of declaring a double-precision complex variable
> in Fortran? - i.e. complex number consistent of two double precision reals.
>
> I would like to ensure that both g77 and gfortran will understand it as such
> in both '.f77' and '.f95' file.
>
Fortran 77 didn't have a portable double precision complex. No gnu
compiler uses .f77 or .f95 file name suffixes to make any such
distinction. gfortran supports "nearly all of the GNU language
extensions supported by g77."
More information about the Gcc-help
mailing list