Home

Next: , Previous: , Up: Intrinsic Procedures   [Contents][Index]


9.20 ASIND — Arcsine function, degrees

Description:

ASIND(X) computes the arcsine of its X in degrees (inverse of SIND(X)).

This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.

Standard:

GNU extension, enabled with -fdec-math.

Class:

Elemental function

Syntax:

RESULT = ASIND(X)

Arguments:
XThe type shall be either REAL and a magnitude that is less than or equal to one - or be COMPLEX.
Return value:

The return value is of the same type and kind as X. The real part of the result is in degrees and lies in the range -90 \leq \Re \asin(x) \leq 90.

Example:
program test_asind
  real(8) :: x = 0.866_8
  x = asind(x)
end program test_asind
Specific names:
NameArgumentReturn typeStandard
ASIND(X)REAL(4) XREAL(4)GNU extension
DASIND(X)REAL(8) XREAL(8)GNU extension
See also:

Inverse function: SIND Radians function: ASIN