2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
12 .. index:: trigonometric function, sine, inverse
14 .. index:: sine, inverse
16 ASIN --- Arcsine function
17 **************************
21 ``ASIN(X)`` computes the arcsine of its :samp:`{X}` (inverse of ``SIN(X)``).
24 The type shall be either ``REAL`` and a magnitude that is
25 less than or equal to one - or be ``COMPLEX``.
28 The return value is of the same type and kind as :samp:`{X}`.
29 The real part of the result is in radians and lies in the range
30 -\pi/2 \leq \Re \asin(x) \leq \pi/2.
33 Fortran 77 and later, for a complex argument Fortran 2008 or later
39 .. code-block:: fortran
44 .. code-block:: fortran
47 real(8) :: x = 0.866_8
63 - Fortran 77 and later
67 - Fortran 77 and later