Fortran Wiki
asin

Description

asin(x) computes the arcsine of its x (inverse of sin(x)).

Standard

FORTRAN 77 and later

Class

Elemental function

Syntax

result = 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 π/2asin(x)π/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

See also

Inverse function: sin

category: intrinsics