Ada Programming/Libraries/Interfaces.Fortran
< Ada Programming | Libraries
This language feature is available from Ada 95 on.
Interfaces.Fortran is a unit of the Predefined Language Environment since Ada 95.
Specification
editwith
Ada.Numerics.Generic_Complex_Types; -- see G.1.1pragma
Elaborate_All(Ada.Numerics.Generic_Complex_Types);package
Interfaces.Fortranis
pragma
Pure(Fortran);type
Fortran_Integeris
range
implementation-defined;type
Realis
digits
implementation-defined;type
Double_Precisionis
digits
implementation-defined;type
Logicalis
new
Boolean;package
Single_Precision_Complex_Typesis
new
Ada.Numerics.Generic_Complex_Types (Real);type
Complexis
new
Single_Precision_Complex_Types.Complex;subtype
Imaginaryis
Single_Precision_Complex_Types.Imaginary; i : Imaginaryrenames
Single_Precision_Complex_Types.i; j : Imaginaryrenames
Single_Precision_Complex_Types.j;type
Character_Setis
implementation-defined charactertype
;type
Fortran_Characteris
array
(Positiverange
<>)of
Character_Setwith
Pack;function
To_Fortran (Item :in
Character)return
Character_Set;function
To_Ada (Item :in
Character_Set)return
Character;function
To_Fortran (Item :in
String)return
Fortran_Character;function
To_Ada (Item :in
Fortran_Character)return
String;procedure
To_Fortran (Item :in
String; Target :out
Fortran_Character; Last :out
Natural);procedure
To_Ada (Item :in
Fortran_Character; Target :out
String; Last :out
Natural);end
Interfaces.Fortran;
See also
editWikibook
editExternal examples
edit- Search for examples of
Interfaces.Fortran
in: Rosetta Code, GitHub (gists), any Alire crate or this Wikibook. - Search for posts related to
Interfaces.Fortran
in: Stack Overflow, comp.lang.ada or any Ada related page.
Ada Reference Manual
editAda 95
editAda 2005
editAda 2012
editOpen-Source Implementations
editFSF GNAT
- Specification: i-fortra.ads
- Body: i-fortra.adb
drake
- Specification: numerics/i-fortra.ads
- Body: numerics/i-fortra.adb