]>
Commit | Line | Data |
---|---|---|
a1eaacb1 | 1 | '\" t |
fea681da | 2 | .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) |
a6d7b49b MK |
3 | .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk |
4 | .\" <mtk.manpages@gmail.com> | |
fea681da | 5 | .\" |
5fbde956 | 6 | .\" SPDX-License-Identifier: Linux-man-pages-copyleft |
fea681da MK |
7 | .\" |
8 | .\" References consulted: | |
9 | .\" Linux libc source code | |
10 | .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) | |
11 | .\" 386BSD man pages | |
12 | .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu) | |
13 | .\" Modified 2002-07-25 by Walter Harms | |
14 | .\" (walter.harms@informatik.uni-oldenburg.de) | |
15 | .\" | |
4c1c5274 | 16 | .TH asin 3 (date) "Linux man-pages (unreleased)" |
fea681da MK |
17 | .SH NAME |
18 | asin, asinf, asinl \- arc sine function | |
2af19291 AC |
19 | .SH LIBRARY |
20 | Math library | |
8fc3b2cf | 21 | .RI ( libm ", " \-lm ) |
fea681da MK |
22 | .SH SYNOPSIS |
23 | .nf | |
24 | .B #include <math.h> | |
68e4db0a | 25 | .PP |
fea681da | 26 | .BI "double asin(double " x ); |
fea681da | 27 | .BI "float asinf(float " x ); |
c13182ef | 28 | .BI "long double asinl(long double " x ); |
fea681da | 29 | .fi |
68e4db0a | 30 | .PP |
d39ad78f | 31 | .RS -4 |
a6d7b49b MK |
32 | Feature Test Macro Requirements for glibc (see |
33 | .BR feature_test_macros (7)): | |
d39ad78f | 34 | .RE |
68e4db0a | 35 | .PP |
a6d7b49b MK |
36 | .BR asinf (), |
37 | .BR asinl (): | |
9d2adbae | 38 | .nf |
5c10d2c5 | 39 | _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L |
9d2adbae | 40 | || /* Since glibc 2.19: */ _DEFAULT_SOURCE |
75c018a1 | 41 | || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE |
9d2adbae | 42 | .fi |
fea681da | 43 | .SH DESCRIPTION |
5600f73a | 44 | These functions calculate the principal value of the arc sine of |
022671eb MK |
45 | .IR x ; |
46 | that is the value whose sine is | |
47 | .IR x . | |
47297adb | 48 | .SH RETURN VALUE |
a6d7b49b | 49 | On success, these functions return the principal value of the arc sine of |
1ae6b2c7 | 50 | .I x |
a6d7b49b | 51 | in radians; the return value is in the range [\-pi/2,\ pi/2]. |
847e0d88 | 52 | .PP |
a6d7b49b MK |
53 | If |
54 | .I x | |
55 | is a NaN, a NaN is returned. | |
847e0d88 | 56 | .PP |
a6d7b49b MK |
57 | If |
58 | .I x | |
59 | is +0 (\-0), | |
60 | +0 (\-0) is returned. | |
847e0d88 | 61 | .PP |
a6d7b49b MK |
62 | If |
63 | .I x | |