asin()

NAME

asin() - arc sine function

SYNOPSIS

#include <math.h>

double asin (double x)

DESCRIPTION

The asin(3) function computes the principal value of the arc sine of x. A domain error occurs for arguments not in the range [-1, +1].

RETURN VALUES

The asin(3) function returns the arc sine in the range [-pi/2, +pi/2] radians.

On failure (an argument less than -1 or greater than +1), asin(3) returns an indefinite value and sets the global variable errno

ERRORS

Asin(3) can set errno to the following value:

[EDOM]
Argument is out of the domain of the function [-1,1].

SEE ALSO

acos(3)

atan(3)

atan2(3)

cos(3)

cosh(3)

sin(3)

sinh(3)

tan(3)

tanh(3)