W3cubDocs

/GNU Fortran 10

6.2.3 Alternate complex function syntax

Some Fortran compilers, including g77, let the user declare complex functions with the syntax COMPLEX FUNCTION name*16(), as well as COMPLEX*16 FUNCTION name(). Both are non-standard, legacy extensions. gfortran accepts the latter form, which is more common, but not the former.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/Alternate-complex-function-syntax.html