12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DOUBLE PRECISION 90The DOUBLE PRECISION statement establishes the data type of a variable by explicitlyattaching the name of a variable to a double precision data type. This overrides the implication ofdata typing by the initial letter of a symbolic name.SyntaxThe syntax for DOUBLE PRECISION has two forms, a standard Fortran 90/95 entity based form,and the <strong>PGI</strong> extended form. This section describes both syntax forms.DOUBLE PRECISION [, attribute-list ::] entity-listattribute-listentity-listSyntax Extensionis the list of attributes for the double precision variable.is the list of defined entities.§DOUBLE PRECISION name [/clist/] [, name] [/clist/]...nameclistis the symbolic name of a variable, array, or an array declarator (see theDIMENSION statement for an explanation of array declarators).is a list of constants that initialize the data, as in a DATA statement.DescriptionType declaration statements may be used to dimension arrays explicitly in the same way as theDIMENSION statement. Type declaration statements must not be labeled. Note: The data type of asymbol may be explicitly declared only once. It is established by type declaration statement,IMPLICIT statement or by predefined typing rules. Explicit declaration of a type overrides anyimplicit declaration. An IMPLICIT statement overrides predefined typing rules.The default size of a DOUBLE PRECISION variable is 8 bytes.ExampleDOUBLE PRECISION PLONGELSE 77The ELSE statement begins an ELSE block of an IF block and encloses a series of statements thatare conditionally executed.Fortran Statements 79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!