2. Types and operators
Every program manipulates information, which can take a number of simple forms predefined in a language, or be constructed by composing such simple forms: these are the data types, characterized for the set of possible values, and the operators defined on these values.
2.1 Predefined scalar types
There are 5 in Fortran: integer, real, complex, logic and character. They can all be parameterized with a type parameter (KIND) to define various variants or subtypes:
In each case, there is a preferred subtype, corresponding to the default value of the KIND parameter for that type, and designating the Fortran...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Types and operators
Article included in this offer
"Software technologies and System architectures"
(
230 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Standardization
- Programming Language-Fortran-Extended. - ANSI INCITS 198 - 1992
- Information Technology – Programming languages – FORTRAN. - NF EN 21539 - 2-94
- Systèmes de traitement de l'information. Infographie. Système graphique de base (GKS). Interface langage. Partie 1 : FORTRAN. - ISO 8651-1 - 4-88
- Technologies de l'information. Arithmétique indépendante de langage. Partie 1 : arithmétique de nombres entiers...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!