OSDN Git Service

e7ccd481152438d8cc29941ae43425e1e18f0b21
[linuxjm/LDP_man-pages.git] / original / 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 .\" %%%LICENSE_START(VERBATIM)
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
9 .\"
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
14 .\"
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein.  The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" %%%LICENSE_END
26 .\"
27 .\" References consulted:
28 .\"     Linux libc source code
29 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
30 .\"     386BSD man pages
31 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
32 .\" Modified 1995-08-14 by Arnt Gulbrandsen <agulbra@troll.no>
33 .\" Modified 2002-07-27 by Walter Harms
34 .\"     (walter.harms@informatik.uni-oldenburg.de)
35 .TH EXP10 3  2008-08-11  "GNU" "Linux Programmer's Manual"
36 .SH NAME
37 exp10, exp10f, exp10l \- base-10 exponential function
38 .SH SYNOPSIS
39 .nf
40 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
41 .br
42 .B #include <math.h>
43 .sp
44 .BI "double exp10(double " x );
45 .br
46 .BI "float exp10f(float " x );
47 .br
48 .BI "long double exp10l(long double " x );
49 .fi
50 .sp
51 Link with \fI\-lm\fP.
52 .SH DESCRIPTION
53 The
54 .BR exp10 ()
55 function returns the value of 10
56 raised to the power of
57 .IR x .
58 .SH RETURN VALUE
59 On success, these functions return the base-10 exponential value of
60 .IR x .
61
62 For various special cases, including the handling of infinity and NaN,
63 as well as overflows and underflows, see
64 .BR exp (3).
65 .SH ERRORS
66 See
67 .BR math_error (7)
68 for information on how to determine whether an error has occurred
69 when calling these functions.
70
71 For a discussion of the errors that can occur for these functions, see
72 .BR exp (3).
73 .\" FIXME . exp10 doesn't give ERANGE for an underflow, unlike exp() and exp2()
74 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
75 .SH VERSIONS
76 These functions first appeared in glibc in version 2.1.
77 .SH CONFORMING TO
78 These functions are GNU extensions.
79 .SH SEE ALSO
80 .BR cbrt (3),
81 .BR exp (3),
82 .BR exp2 (3),
83 .BR log10 (3),
84 .BR sqrt (3)
85 .SH COLOPHON
86 This page is part of release 3.67 of the Linux
87 .I man-pages
88 project.
89 A description of the project,
90 information about reporting bugs,
91 and the latest version of this page,
92 can be found at
93 \%http://www.kernel.org/doc/man\-pages/.