[RFC] [Ping] Comments on gfortran manual
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Dec 11 15:18:00 GMT 2008
On Thu, Dec 11, 2008 at 10:38:54AM +0100, Tobias Burnus wrote:
>
> The kind value matches the storage size in bytes. It is recommended to
> use the SELECT_*_KIND functions, but as backward compatibility the
> Fortran standard allows to use the type name followed by an asterisk and
> then by the kind value, e.g. @code{REAL*8}, with the exception that the
> number has to be doubled for COMPLEX, e.g. @code{COMPLEX*8} is the same
> as @complex{COMPLEX(kind=4)} (default kind complex)."
>
The Fortran standard has never allowed the asterisk form.
This became a de facto standard in that years ago some
vendor(s) (DEC?, IBM?, CDC?) used it, so everyone elser
needed to support this form.
--
Steve
More information about the Fortran
mailing list