OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man3 / exp2.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 Tue Sep 23 20:27:35 JST 2003
37 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
38 .\"
39 .TH EXP2 3  2008-08-11  "" "Linux Programmer's Manual"
40 .\"O .SH NAME
41 .SH Ì¾Á°
42 .\"O exp2, exp2f, exp2l \- base-2 exponential function
43 exp2, exp2f, exp2l \- Ä줬 2 ¤Î»Ø¿ô´Ø¿ô
44 .\"O .SH SYNOPSIS
45 .SH ½ñ¼°
46 .nf
47 .B #include <math.h>
48 .sp
49 .BI "double exp2(double " x );
50 .br
51 .BI "float exp2f(float " x );
52 .br
53 .BI "long double exp2l(long double " x );
54 .fi
55 .sp
56 .\"O Link with \fI\-lm\fP.
57 \fI-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
58 .sp
59 .in -4n
60 .\"O Feature Test Macro Requirements for glibc (see
61 .\"O .BR feature_test_macros (7)):
62 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
63 .RB ( feature_test_macros (7)
64 »²¾È):
65 .in
66 .sp
67 .ad l
68 .BR exp2 (),
69 .BR exp2f (),
70 .BR exp2l ():
71 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
72 .I cc\ -std=c99
73 .ad b
74 .\"O .SH DESCRIPTION
75 .SH ÀâÌÀ
76 .\"O The
77 .\"O .BR exp2 ()
78 .\"O function returns the value of 2
79 .\"O raised to the power of \fIx\fP.
80 .BR exp2 ()
81 ´Ø¿ô¤Ï 2 ¤Î \fIx\fP ¾è¤ÎÃͤòÊÖ¤¹¡£
82 .\"O .SH RETURN VALUE
83 .SH ÊÖ¤êÃÍ
84 .\"O On success, these functions return the base-2 exponential value of
85 .\"O .IR x .
86 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï 2 ¤Î
87 .I x
88 ¾è¤òÊÖ¤¹¡£
89
90 .\"O For various special cases, including the handling of infinity and NaN,
91 .\"O as well as overflows and underflows, see
92 .\"O .BR exp (3).
93 ̵¸ÂÂç¤ä NaN ¤Î°·¤¤¤ä¡¢¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤È¥¢¥ó¥À¡¼¥Õ¥í¡¼¤Ê¤É¤Î
94 ¤µ¤Þ¤¶¤Þ¤ÊÆÃÊ̤ʾõ¶·¤Ë¤Ä¤¤¤Æ¤Ï¡¢
95 .BR exp (3)
96 ¤ò»²¾È¤Î¤³¤È¡£
97 .\"O .SH ERRORS
98 .SH ¥¨¥é¡¼
99 .\"O See
100 .\"O .BR math_error (7)
101 .\"O for information on how to determine whether an error has occurred
102 .\"O when calling these functions.
103 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
104 .BR math_error (7)
105 ¤ò»²¾È¤Î¤³¤È¡£
106
107 .\"O For a discussion of the errors that can occur for these functions, see
108 .\"O .BR exp (3).
109 ¤³¤ì¤é¤Î´Ø¿ô¤ÇȯÀ¸¤¹¤ë¥¨¥é¡¼¤Ë¤Ä¤¤¤Æ¤Ï¡¢
110 .BR exp (3)
111 ¤ò»²¾È¤Î¤³¤È¡£
112 .\"O .SH VERSIONS
113 .SH ¥Ð¡¼¥¸¥ç¥ó
114 .\"O These functions first appeared in glibc in version 2.1.
115 ¤³¤ì¤é¤Î´Ø¿ô¤Ï glibc ¥Ð¡¼¥¸¥ç¥ó 2.1 ¤Ç½é¤á¤ÆÅо줷¤¿¡£
116 .\"O .SH "CONFORMING TO"
117 .SH ½àµò
118 C99, POSIX.1-2001.
119 .\"O The variant returning
120 .\"O .I double
121 .\"O also conforms to
122 .\"O SVr4, 4.3BSD, C89.
123 .I double
124 ÈǤδؿô¤Ï SVr4, 4.3BSD, C89 ¤Ë¤â½àµò¤·¤Æ¤¤¤ë¡£
125 .\"O .SH "SEE ALSO"
126 .SH ´ØÏ¢¹àÌÜ
127 .BR cbrt (3),
128 .BR cexp2 (3),
129 .BR exp (3),
130 .BR exp10 (3),
131 .BR sqrt (3)