ASIN(X)

Purpose

Arcsine (inverse sine) function.

Class

Elemental function

Argument type and attributes

X
must be of type real with a value that satisfies the inequality |X| ≤ 1, Fortran 2008 beginsor be of type complex.Fortran 2008 ends

Result type and attributes

Same as X.

Result value

If X is of type real, the result value is as follows:

Fortran 2008 begins
If X is of type complex, the real part of the result value is as follows:
  • It is expressed in radians.
  • It is in the range -PI/2 ≤ REAL(ASIN(X)) ≤ PI/2.
Fortran 2008 ends

Examples

ASIN(1.0) approximates PI/2.

Fortran 2008 beginsASIN((0.841471, 0.000000)) has the value (1.000000, 0.000000), approximately.Fortran 2008 ends

Specific Name Argument Type Result Type Pass As Arg?
ASIN default real default real yes
DASIN double precision real double precision real yes
QASIN  1  REAL(16) REAL(16) yes
QARSIN  1  REAL(16) REAL(16) yes
Note:
  1. IBM Extension.