BSD 4_4 development
[unix-history] / usr / share / man / cat3 / asin.0
ASIN(3) BSD Programmer's Manual ASIN(3)
N\bNA\bAM\bME\bE
a\bas\bsi\bin\bn - arc sine function
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
#\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<m\bma\bat\bth\bh.\b.h\bh>\b>
_\bd_\bo_\bu_\bb_\bl_\be
a\bas\bsi\bin\bn(_\bd_\bo_\bu_\bb_\bl_\be _\bx);
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The a\bas\bsi\bin\bn() function computes the principal value of the arc sine of _\bx. A
domain error occurs for arguments not in the range [-1, +1]. For a dis-
cussion of error due to roundoff, see math(3).
R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bES\bS
The a\bas\bsi\bin\bn() function returns the arc sine in the range [-pi/2, +pi/2] ra-
dians. On the VAX, and Tahoe , if:
|_\bx| > 1
the global variable _\be_\br_\br_\bn_\bo is set to EDOM and a reserved operand fault
generated.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
acos(3), atan(3), atan2(3), cos(3), cosh(3), sin(3), sinh(3),
tan(3), tanh(3), math(3),
S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
The a\bas\bsi\bin\bn() function conforms to ANSI C X3.159-1989 (``ANSI C '').
4.4BSD June 4, 1993 1