GFORTRAN_INTRINSICS
Examples of GFORTRAN Intrinsic Functions


GFORTRAN_INTRINSICS contains examples demonstrating the use and features of some of the intrinsic routines peculiar to the GFORTRAN FORTRAN compiler.

These functions are not listed in the FORTRAN standard; they are in some cases commonly available in C or C++ compilers.

Related Data and Programs:

ARGS is a FORTRAN77 program which demonstrates the use of the IARGC and GETARG functions to count and access command line arguments. Versions of these functions are included with GFORTRAN.

C is a directory which includes some examples on features of the C language.

CPP is a directory which includes some examples on features of the C++ language.

F77 is a directory which includes some examples on features of the FORTRAN77 language.

F77_INTRINSICS is a directory which includes some examples of the use of intrinsic functions included with the FORTRAN77 standard language.

F90 is a directory which includes some examples on features of the FORTRAN90 language.

F90_INTRINSICS is a directory which includes some examples of the use of intrinsic functions defined as part of the FORTRAN90 standard.

G++_INTRINSICS is a C++ program which demonstrates some of the intrinsic functions provided by the G++ compiler.

G77_INTRINSICS is a directory which includes some examples of the use of intrinsic functions included with the G77 compiler.

G95_INTRINSICS is a directory which includes some examples of the use of "extra" intrinsic functions defined as part of the G95 compiler.

GCC_INTRINSICS is a C program which tests or demonstrates intrinsic routines provided by the GCC compiler.

GFORTRAN is a directory which includes examples of the use of the GFORTRAN compiler with FORTRAN77 code.

GFORTRAN_INTRINSICS is also available in a FORTRAN90 version.

MIXED is a directory which shows some examples of writing a program partly in FORTRAN77 and partly in some other language.

MPI is a directory which shows how to set up parallel programs in FORTRAN77.

TEST_VALUES is a FORTRAN77 library which stores some sample values of various special functions.

TIMER is a FORTRAN77 program which shows how to compute elapsed CPU time.

TIMESTAMP is a FORTRAN77 library which shows how to get a timestamp in FORTRAN77.

XLF_INTRINSICS is a directory which includes some examples of the use of intrinsic functions peculiar to the IBM XLF FORTRAN compiler.

Reference:

  1. The Gnu FORTRAN page, http://www.gnu.org/software/fortran/fortran.html .
  2. The GFORTRAN Manual, http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gfortran.pdf.

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN77 source codes.


Last revised on 23 March 2008.