OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / release / man3 / erf.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-27 by Walter Harms
31 .\"     (walter.harms@informatik.uni-oldenburg.de)
32 .\"
33 .\" Japanese Version Copyright (c) 1997 YOSHINO Takashi
34 .\"       all rights reserved.
35 .\" Translated Mon Jan 20 20:17:40 JST 1997
36 .\"       by YOSHINO Takashi <yoshino@civil.jcn.nihon-u.ac.jp>
37 .\" Updated Tue Aug  5 23:16:48 JST 2003
38 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
39 .\" Updated & Modified Tue Feb 15 04:46:24 JST 2005
40 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
41 .\"
42 .\"WORD:        complementary error function    ÁêÊä¸íº¹´Ø¿ô
43 .\"WORD:        subnormal       ÈóÀµµ¬²½¤Î
44 .\"
45 .TH ERF 3  2008-08-05 "GNU" "Linux Programmer's Manual"
46 .SH Ì¾Á°
47 erf, erff, erfl \- ¸íº¹´Ø¿ô
48 .SH ½ñ¼°
49 .nf
50 .B #include <math.h>
51
52 .BI "double erf(double " x );
53 .BI "float erff(float " x );
54 .BI "long double erfl(long double " x );
55
56 .fi
57 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
58 .sp
59 .in -4n
60 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
61 .RB ( feature_test_macros (7)
62 »²¾È):
63 .in
64 .sp
65 .ad l
66 .BR erf ():
67 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE; or
68 .I cc\ -std=c99
69 .br
70 .BR erff (),
71 .BR erfl ():
72 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600|| _ISOC99_SOURCE; or
73 .I cc\ -std=c99
74 .ad b
75 .SH ÀâÌÀ
76 .BR erf ()
77 ¤Ï \fIx\fP ¤Î¸íº¹´Ø¿ô¤òÊÖ¤¹´Ø¿ô¤Ç¡¢°Ê²¼¤Î¤è¤¦¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
78 .TP
79     erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(\-t*t) dt
80 .SH ÊÖ¤êÃÍ
81 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï
82 .I x
83 ¤Î¸íº¹´Ø¿ô¤òÊÖ¤¹¡£
84 ÊÖ¤êÃͤϠ[\-1,\ 1] ¤ÎÈϰϤȤʤ롣
85
86 .I x
87 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
88
89 .I x
90 ¤¬ +0 (\-0) ¤Î¾ì¹ç¡¢+0 (\-0) ¤¬ÊÖ¤µ¤ì¤ë¡£
91
92 .I x
93 ¤¬Àµ¤Î̵¸ÂÂç (Éé¤Î̵¸ÂÂç) ¤Î¾ì¹ç¡¢+1 (\-1) ¤¬ÊÖ¤µ¤ì¤ë¡£
94
95 .I x
96 ¤¬ÈóÀµµ¬²½¿ô¤Î¾ì¹ç¡¢ÈÏ°Ï¥¨¥é¡¼ (range error) ¤¬È¯À¸¤·¡¢
97 ÊÖ¤êÃͤϠ2*x/sqrt(pi) ¤È¤Ê¤ë¡£
98 .SH ¥¨¥é¡¼
99 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
100 .BR math_error (7)
101 ¤ò»²¾È¤Î¤³¤È¡£
102 .PP
103 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
104 .TP
105 ÈÏ°Ï¥¨¥é¡¼ (range error): ·ë²Ì¤¬¥¢¥ó¥À¡¼¥Õ¥í¡¼¤¹¤ë (\fIx\fP ¤¬ÈóÀµµ¬²½¿ô)
106 .\" .I errno
107 .\" is set to
108 .\" .BR ERANGE .
109 ¥¢¥ó¥À¡¼¥Õ¥í¡¼ÉâÆ°¾®¿ôÅÀÎã³°
110 .RB ( FE_UNDERFLOW )
111 ¤¬¾å¤¬¤ë¡£
112 .PP
113 ¤³¤ì¤é¤Î´Ø¿ô¤Ï
114 .I errno
115 ¤òÀßÄꤷ¤Ê¤¤¡£
116 .\" FIXME . Is it intentional that these functions do not set errno?
117 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6785
118 .SH ½àµò
119 C99, POSIX.1-2001.
120 .I double
121 ÈǤδؿô¤Ï SVr4, 4.3BSD ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
122 .SH ´ØÏ¢¹àÌÜ
123 .BR cerf (3),
124 .BR erfc (3),
125 .BR exp (3)