Download Fortran Library Reference

Transcript
TABLE 1-3
Double Precision Math Functions (Continued)
Subroutine
Subroutine
Subroutine
Subroutine
sine & cosine
---
PRECISION
PRECISION
PRECISION
PRECISION
PRECISION
Function
Function
Function
Function
Function
tangent
-hyperb tan
---
DOUBLE PRECISION
DOUBLE PRECISION
DOUBLE PRECISION
Function
Function
Function
bessel
---
d_sincos( x, s, c )
d_sincosd( x, s, c )
d_sincosp( x, s, c )
d_sincospi( x, s, c )
n/a
n/a
n/a
n/a
d_tan( x )
d_tand( x )
d_tanh( x )
d_tanp( x )
d_tanpi( x )
DOUBLE
DOUBLE
DOUBLE
DOUBLE
DOUBLE
d_y0( x )
d_y1( x )
d_yn( n, x )
■
Variables c, l, p, s, u, x, and y are of type DOUBLE PRECISION.
■
Explicitly type these functions on a DOUBLE PRECISION statement or with an
appropriate IMPLICIT statement).
■
sind(x), asind(x), … take degrees rather than radians.
See also: intro(3M) and the Numerical Computation Guide.
Quad-Precision Functions
These subprograms are quadruple-precision (REAL*16) math functions and
subroutines (SPARC only).
In general, these do not correspond to standard generic intrinsic functions; data
types are determined by the usual data typing rules.
18
Fortran Library Reference • May 2000