W3cubDocs

/GNU Fortran 7

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:
X The 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:
Name Argument Return type Standard
ASIND(X) REAL(4) X REAL(4) GNU Extension
DASIND(X) REAL(8) X REAL(8) GNU Extension
See also:

Inverse function: SIND Radians function: ASIN

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gfortran/ASIND.html