ASIN(3) BSD Library Functions Manual ASIN(3)NAMEasin — arc sine function
SYNOPSIS
#include <math.h>
double
asin(double x);
DESCRIPTION
The asin() function computes the principal value of the arc sine of x. A
domain error occurs for arguments not in the range [-1, +1]. For a dis‐
cussion of error due to roundoff, see math(3).
RETURN VALUES
The asin() function returns the arc sine in the range [-π/2, +π/2] radi‐
ans. On the VAX, and Tahoe , if:
|x| > 1
the global variable errno is set to EDOM and a reserved operand fault
generated.
SEE ALSOacos(3), atan(3), atan2(3), cos(3), cosh(3), sin(3), sinh(3), tan(3),
tanh(3), math(3),
STANDARDS
The asin() function conforms to ANSI X3.159-1989 (“ANSI C89”).
BSD June 4, 1993 BSD