LF Fortran 95

Mathematical Functions

The generic procedure name is shown in bold text. Other procedure names appearing in the same cell as the generic name are specific versions of the generic procedure. Procedures highlighted in blue are supported nonstandard versions of the generic procedure.

Mathematical Functions

Name

Function Type

Argument Type

Description

Class

ACOS

DACOS

REAL

REAL_8

REAL

REAL_8

Arccosine.

Elemental

ASIN

DASIN

REAL

REAL_8

REAL

REAL_8

Arcsine.

Elemental

ATAN

DATAN

REAL

REAL_8

REAL

REAL_8

Arctangent.

Elemental

ATAN2

DATAN2

REAL

REAL_8

REAL

REAL_8

Arctangent of y /x (principal value of the argument of the complex number (x ,y )).

Elemental

CBRT

CBRT

DCBRT

QCBRT

REAL

REAL_8

REAL_16

REAL

REAL_8

REAL_16

Cube root.

Elemental

COS

 

CCOS

CDCOS

CQCOS

DCOS

QCOS

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

Cosine.

Elemental

COSH

DCOSH

QCOSH

REAL

REAL_8

REAL_16

REAL

REAL_8

REAL_16

Hyperbolic cosine.

Elemental

EXP

 

CEXP

CDEXP

CQEXP

DEXP

QEXP

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

Exponential.

Elemental

LOG

 

ALOG

CLOG

CDLOG

CQLOG

DLOG

QLOG

REAL or

COMPLEX

REAL_4

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

REAL or

COMPLEX

REAL_4

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

Natural logarithm.

Elemental

LOG10

ALOG10

DLOG10

QLOG10

REAL

REAL_4

REAL_8

REAL_16

REAL

REAL_4

REAL_8

REAL_16

Common logarithm.

Elemental

SIN

 

CSIN

CDSIN

CQSIN

DSIN

QSIN

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

Sine.

Elemental

SINH

DSINH

QSINH

REAL

REAL_8

REAL_16

REAL

REAL_8

REAL_16

Hyperbolic sine.

Elemental

SQRT

 

CSQRT

CDSQRT

CQSQRT

DSQRT

QSQRT

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

REAL or

COMPLEX

COMPLEX_4

COMPLEX_8

COMPLEX_16

REAL_8

REAL_16

Square root.

Elemental

TAN

DTAN

QTAN

REAL

REAL_8

REAL_16

REAL

REAL_8

REAL_16

Tangent.

Elemental

TANH

DTANH

QTANH

REAL

REAL_8

REAL_16

REAL

REAL_8

REAL_16

Hyperbolic tangent.

Elemental