OSDN Git Service

(split) Convert release and draft pages to UTF-8.
[linuxjm/LDP_man-pages.git] / release / man3 / asin.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk
2 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3 .\"     <mtk.manpages@gmail.com>
4 .\"
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\"
25 .\" References consulted:
26 .\"     Linux libc source code
27 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
28 .\"     386BSD man pages
29 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
30 .\" Modified 2002-07-25 by Walter Harms
31 .\"     (walter.harms@informatik.uni-oldenburg.de)
32 .\"
33 .\" Japanese Version Copyright (c) 1996 Kenji Kajiwara and Kentaro Ogawa
34 .\"         all rights reserved.
35 .\" Translated Sat, 13 Jul 1996 17:50:45 JST
36 .\"         by Kenji Kajiwara and Kentaro Ogawa
37 .\" Proof Reading: Takashi Yoshino
38 .\" Updated Tue Aug  5 23:16:48 JST 2003
39 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
40 .\" Updated 2008-09-14, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
41 .\"
42 .TH ASIN 3 2010-09-20 "" "Linux Programmer's Manual"
43 .SH 名前
44 asin, asinf, asinl \- 逆正弦(arc sine)関数
45 .SH 書式
46 .nf
47 .B #include <math.h>
48 .sp
49 .BI "double asin(double " x );
50 .br
51 .BI "float asinf(float " x );
52 .br
53 .BI "long double asinl(long double " x );
54 .fi
55 .sp
56 \fI\-lm\fP でリンクする。
57 .sp
58 .in -4n
59 glibc 向けの機能検査マクロの要件
60 .RB ( feature_test_macros (7)
61 参照):
62 .in
63 .sp
64 .ad l
65 .BR asinf (),
66 .BR asinl ():
67 .RS 4
68 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
69 _POSIX_C_SOURCE\ >=\ 200112L;
70 .br
71 or
72 .I cc\ -std=c99
73 .RE
74 .ad b
75 .SH 説明
76 .BR asin ()
77 関数は \fIx\fP の逆正弦(arc sine) の主値を計算する。
78 すなわち、その正弦(sine)が \fIx\fP となるような値である。
79 .SH 返り値
80 成功すると、これらの関数は
81 .I x
82 の逆正弦の主値をラジアン単位で返す。
83 返り値は [\-pi/2,\ pi/2] の範囲となる。
84
85 .I x
86 が NaN の場合、NaN が返される。
87
88 .I x
89 が +0 (\-0) の場合、+0 (\-0) が返される。
90
91 .I x
92 が [\-1,\ 1] の範囲に入っていない場合、
93 領域エラー (domain error) が発生し、NaN が返される。
94 .\"
95 .\" POSIX.1-2001 documents an optional range error for subnormal x;
96 .\" glibc 2.8 does not do this.
97 .SH エラー
98 これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
99 .BR math_error (7)
100 を参照のこと。
101 .PP
102 以下のエラーが発生する可能性がある。
103 .TP
104 領域エラー (domain error): \fIx\fP が [\-1,\ 1] の範囲に入っていない
105 .I errno
106
107 .B EDOM
108 が設定される。
109 無効 (invalid) 浮動小数点例外
110 .RB ( FE_INVALID )
111 が上がる。
112 .SH 準拠
113 C99, POSIX.1-2001.
114 .I double
115 版の関数は SVr4, 4.3BSD, C89 にも準拠している。
116 .SH 関連項目
117 .BR acos (3),
118 .BR atan (3),
119 .BR atan2 (3),
120 .BR casin (3),
121 .BR cos (3),
122 .BR sin (3),
123 .BR tan (3)