Next: , Previous: ANY, Up: Intrinsic Procedures


8.15 ASIN — Arcsine function

Description:
ASIN(X) computes the arcsine of its X.
Option:
f95, gnu
Class:
elemental function
Syntax:
X = ASIN(X)
Arguments:

X The type shall be REAL(*), and a magnitude that is less than one.

Return value:
The return value is of type REAL(*) and it lies in the range -\pi / 2 \leq \arccos (x) \leq \pi / 2. The kind type parameter is the same as X.
Example:
          program test_asin
            real(8) :: x = 0.866_8
            x = asin(x)
          end program test_asin
     

Specific names:

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