OSDN Git Service

(split) Fixed #25191 (typo in fenv.3).
[linuxjm/LDP_man-pages.git] / release / man3 / exp.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 1995-08-14 by Arnt Gulbrandsen <agulbra@troll.no>
31 .\" Modified 2002-07-27 by Walter Harms
32 .\"     (walter.harms@informatik.uni-oldenburg.de)
33 .\"
34 .\" Japanese Version Copyright (c) 2003  Akihiro MOTOKI
35 .\"         all rights reserved.
36 .\" Translated Mon Sep  7 23:27:52 JST 2003
37 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
38 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
39 .\"
40 .TH EXP 3  2010-09-20  "" "Linux Programmer's Manual"
41 .SH Ì¾Á°
42 exp, expf, expl \- Ä줬 e ¤Î»Ø¿ô´Ø¿ô
43 .SH ½ñ¼°
44 .nf
45 .B #include <math.h>
46 .sp
47 .BI "double exp(double " x );
48 .br
49 .BI "float expf(float " x );
50 .br
51 .BI "long double expl(long double " x );
52 .fi
53 .sp
54 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
55 .sp
56 .in -4n
57 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
58 .RB ( feature_test_macros (7)
59 »²¾È):
60 .in
61 .sp
62 .ad l
63 .BR expf (),
64 .BR expl ():
65 .RS 4
66 _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
67 _POSIX_C_SOURCE\ >=\ 200112L;
68 .br
69 or
70 .I cc\ -std=c99
71 .RE
72 .ad b
73 .SH ÀâÌÀ
74 .BR exp ()
75 ´Ø¿ô¤Ï e ¤Î \fIx\fP ¾è¤ÎÃͤòÊÖ¤¹
76 (e ¤Ï¼«Á³Âпô¤ÎÄì)¡£
77 .SH ÊÖ¤êÃÍ
78 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï e ¤Î
79 .I x
80 ¾è¤òÊÖ¤¹¡£
81
82 .I x
83 ¤¬ NaN ¤Î¾ì¹ç¡¢NaN ¤¬ÊÖ¤µ¤ì¤ë¡£
84
85 .I x
86 ¤¬Àµ¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢Àµ¤Î̵¸ÂÂ礬ÊÖ¤µ¤ì¤ë¡£
87
88 .I x
89 ¤¬Éé¤Î̵¸ÂÂç¤Î¾ì¹ç¡¢+0 ¤¬ÊÖ¤µ¤ì¤ë¡£
90
91 ·ë²Ì¤¬¥¢¥ó¥À¡¼¥Õ¥í¡¼¤¹¤ë¾ì¹ç¡¢
92 ÈÏ°Ï¥¨¥é¡¼ (range error) ¤¬È¯À¸¤·¡¢0 ¤¬ÊÖ¤µ¤ì¤ë¡£
93
94 ·ë²Ì¤¬¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤¹¤ë¾ì¹ç¡¢ÈÏ°Ï¥¨¥é¡¼¤¬È¯À¸¤·¡¢
95 ³Æ´Ø¿ô¤Ï¤½¤ì¤¾¤ì
96 .RB + HUGE_VAL ,
97 .RB + HUGE_VALF ,
98 .RB + HUGE_VALL
99 ¤òÊÖ¤¹¡£
100 .SH ¥¨¥é¡¼
101 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
102 .BR math_error (7)
103 ¤ò»²¾È¤Î¤³¤È¡£
104
105 °Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
106 .TP
107 ÈÏ°Ï¥¨¥é¡¼ (range error)¡¢¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤Î¾ì¹ç
108 .I errno
109 ¤Ë
110 .B ERANGE
111 ¤¬ÀßÄꤵ¤ì¤ë¡£
112 ¥ª¡¼¥Ð¡¼¥Õ¥í¡¼ÉâÆ°¾®¿ôÅÀÎã³°
113 .RB ( FE_OVERFLOW )
114 ¤¬¾å¤¬¤ë¡£
115 .TP
116 ÈÏ°Ï¥¨¥é¡¼¡¢¥¢¥ó¥À¡¼¥Õ¥í¡¼¤Î¾ì¹ç
117 .I errno
118 ¤Ë
119 .B ERANGE
120 ¤¬ÀßÄꤵ¤ì¤ë¡£
121 ¥¢¥ó¥À¡¼¥Õ¥í¡¼ÉâÆ°¾®¿ôÅÀÎã³°
122 .RB ( FE_UNDERFLOW )
123 ¤¬¾å¤¬¤ë¡£
124 .SH ½àµò
125 C99, POSIX.1-2001.
126 .I double
127 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
128 .SH ´ØÏ¢¹àÌÜ
129 .BR cbrt (3),
130 .BR cexp (3),
131 .BR exp10 (3),
132 .BR exp2 (3),
133 .BR sqrt (3)