OSDN Git Service

a9ab4def2cdd35a3b6ab1562ed9722d90f38dfd0
[linuxjm/LDP_man-pages.git] / draft / man3 / exp10.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:30:22 JST 2003
37 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
38 .\"
39 .TH EXP10 3  2008-08-11  "GNU" "Linux Programmer's Manual"
40 .\"O .SH NAME
41 .SH Ì¾Á°
42 .\"O exp10, exp10f, exp10l \- base-10 exponential function
43 exp10, exp10f, exp10l \- ´ð¿ô¤¬ 10 ¤Î»Ø¿ô´Ø¿ô
44 .\"O .SH SYNOPSIS
45 .SH ½ñ¼°
46 .nf
47 .B #define _GNU_SOURCE
48 .br
49 .B #include <math.h>
50 .sp
51 .BI "double exp10(double " x );
52 .br
53 .BI "float exp10f(float " x );
54 .br
55 .BI "long double exp10l(long double " x );
56 .fi
57 .sp
58 .\"O Link with \fI\-lm\fP.
59 \fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
60 .\"O .SH DESCRIPTION
61 .SH ÀâÌÀ
62 .\"O The
63 .\"O .BR exp10 ()
64 .\"O function returns the value of 10
65 .\"O raised to the power of \fIx\fP.
66 .BR exp10 ()
67 ´Ø¿ô¤Ï 10 ¤Î \fIx\fP ¾è¤ÎÃͤòÊÖ¤¹¡£
68 .\"O .SH RETURN VALUE
69 .SH ÊÖ¤êÃÍ
70 .\"O On success, these functions return the base-10 exponential value of
71 .\"O .IR x .
72 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï 10 ¤Î
73 .I x
74 ¾è¤òÊÖ¤¹¡£
75
76 .\"O For various special cases, including the handling of infinity and NaN,
77 .\"O as well as overflows and underflows, see
78 .\"O .BR exp (3).
79 ̵¸ÂÂç¤ä NaN ¤Î°·¤¤¤ä¡¢¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤È¥¢¥ó¥À¡¼¥Õ¥í¡¼¤Ê¤É¤Î
80 ¤µ¤Þ¤¶¤Þ¤ÊÆÃÊ̤ʾõ¶·¤Ë¤Ä¤¤¤Æ¤Ï¡¢
81 .BR exp (3)
82 ¤ò»²¾È¤Î¤³¤È¡£
83 .\"O .SH ERRORS
84 .SH ¥¨¥é¡¼
85 .\"O See
86 .\"O .BR math_error (7)
87 .\"O for information on how to determine whether an error has occurred
88 .\"O when calling these functions.
89 ¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
90 .BR math_error (7)
91 ¤ò»²¾È¤Î¤³¤È¡£
92
93 .\"O For a discussion of the errors that can occur for these functions, see
94 .\"O .BR exp (3).
95 ¤³¤ì¤é¤Î´Ø¿ô¤ÇȯÀ¸¤¹¤ë¥¨¥é¡¼¤Ë¤Ä¤¤¤Æ¤Ï¡¢
96 .BR exp (3)
97 ¤ò»²¾È¤Î¤³¤È¡£
98 .\" FIXME . exp10 doesn't give ERANGE for an underflow, unlike exp() and exp2()
99 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
100 .\"O .SH VERSIONS
101 .SH ¥Ð¡¼¥¸¥ç¥ó
102 .\"O These functions first appeared in glibc in version 2.1.
103 ¤³¤ì¤é¤Î´Ø¿ô¤Ï glibc ¥Ð¡¼¥¸¥ç¥ó 2.1 ¤Ç½é¤á¤ÆÅо줷¤¿¡£
104 .\"O .SH "CONFORMING TO"
105 .SH ½àµò
106 .\"O These functions are GNU extensions.
107 ¤³¤ì¤é¤Î´Ø¿ô¤Ï GNU ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤ë¡£
108 .\"O .SH "SEE ALSO"
109 .SH ´ØÏ¢¹àÌÜ
110 .BR cbrt (3),
111 .BR exp (3),
112 .BR exp2 (3),
113 .BR log10 (3),
114 .BR sqrt (3),
115 .BR feature_test_macros (7)