FORTRAN 77 Language Reference

## Trigonometric Functions

Table 6-3 Trigonometric Functions

Intrinsic Function

Definition

Args

Generic Name

Specific

Names

Argument Type

Function Type

Sine

See Note (7).

sin(a)

SINSIN DSIN QSIN @ CSIN ZSIN @ CDSIN @ CQSIN @REAL DOUBLE REAL*16 COMPLEX DOUBLE COMPLEX DOUBLE COMPLEX COMPLEX*32REAL DOUBLE REAL*16 COMPLEX DOUBLE COMPLEX DOUBLE COMPLEX COMPLEX*32

Sine (degrees)

See Note (7).

sin(a)

SIND @SIND @ DSIND @ QSIND @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Cosine

See Note (7).

cos(a)

COSCOS DCOS QCOS @ CCOS ZCOS @ CDCOS @ CQCOS @REAL DOUBLE REAL*16 COMPLEX DOUBLE COMPLEX DOUBLE COMPLEX COMPLEX*32REAL DOUBLE REAL*16 COMPLEX DOUBLE COMPLEX DOUBLE COMPLEX COMPLEX*32

Cosine (degrees)

See Note (7).

cos(a)

COSD @COSD @ DCOSD @ QCOSD @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Tangent

See Note (7).

tan(a)

TANTAN DTAN QTAN @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Tangent (degrees)

See Note (7).

tan(a)

TAND @TAND @ DTAND @ QTAND @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Arcsine

See Note (7).

arcsin(a)

ASINASIN DASIN QASIN @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Arcsine (degrees)

See Note (7).

arcsin(a)

ASIND @ASIND @ DASIND @ QASIND @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Arccosine

See Note (7).

arccos(a)

ACOSACOS DACOS QACOS @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Arccosine (degrees)

See Note (7).

arccos(a)

ACOSD @ACOSD @ DACOSD @ QACOSD @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Arctangent

See Note (7).

arctan(a)

ATANATAN DATAN QATAN @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

arctan

(a1/a2)

ATAN2ATAN2 DATAN2 QATAN2 @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Arctangent (degrees)

See Note (7).

arctan(a)

ATAND @ATAND @ DATAND @ QATAND @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

arctan

(a1/a2)

ATAN2D@ATAN2D @ DATAN2D @ QATAN2D @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Hyperbolic Sine

See Note (7).

sinh(a)

SINHSINH DSINH QSINH @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Hyperbolic Cosine

See Note (7).

cosh(a)

COSHCOSH DCOSH QCOSH @REAL DOUBLE REAL*16REAL DOUBLE REAL*16

Hyperbolic Tangent

See Note (7).

tanh(a)

TANHTANH DTANH QTANH @REAL DOUBLE REAL*16REAL DOUBLE REAL*16