Types and operators
Fortran

Add to my library

H2120 V3 Article

Types and operators
Fortran

Author : Patrice LIGNELET

Review date: April 27, 2016 | Lire en français

Add to my library Add to my library

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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:

type_name (KIND = subtype parameter)

In each case, there is a preferred subtype, corresponding to the default value of the KIND parameter for that type, and designating the Fortran...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 234 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details
Contact us