Next: , Previous: ASSOCIATED, Up: Intrinsic Procedures


8.17 ATAN — Arctangent function

Description:
ATAN(X) computes the arctangent of X.
Option:
f95, gnu
Class:
elemental function
Syntax:
X = ATAN(X)
Arguments:

X The type shall be REAL(*).

Return value:
The return value is of type REAL(*) and it lies in the range - \pi / 2 \leq \arcsin (x) \leq \pi / 2.
Example:
          program test_atan
            real(8) :: x = 2.866_8
            x = atan(x)
          end program test_atan
     

Specific names:

Name Argument Return type Option
DATAN(X) REAL(8) X REAL(8) f95, gnu