]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/exp10.3
CPU_SET.3, INFINITY.3, __ppc_get_timebase.3, __ppc_set_ppr_med.3, __ppc_yield.3,...
[thirdparty/man-pages.git] / man3 / exp10.3
CommitLineData
fea681da 1.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
f4fe98d1
MK
2.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3.\" <mtk.manpages@gmail.com>
fea681da 4.\"
93015253 5.\" %%%LICENSE_START(VERBATIM)
fea681da
MK
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.
c13182ef 14.\"
fea681da
MK
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.
c13182ef 22.\"
fea681da
MK
23.\" Formatted or processed versions of this manual, if unaccompanied by
24.\" the source, must acknowledge the copyright and authors of this work.
4b72fb64 25.\" %%%LICENSE_END
fea681da
MK
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)
fe0fefbf 35.TH EXP10 3 2015-03-02 "GNU" "Linux Programmer's Manual"
fea681da
MK
36.SH NAME
37exp10, exp10f, exp10l \- base-10 exponential function
38.SH SYNOPSIS
39.nf
b80f966b 40.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
fea681da
MK
41.br
42.B #include <math.h>
68e4db0a 43.PP
fea681da 44.BI "double exp10(double " x );
d39541ec 45.br
fea681da 46.BI "float exp10f(float " x );
d39541ec 47.br
fea681da
MK
48.BI "long double exp10l(long double " x );
49.fi
68e4db0a 50.PP
20c58d70 51Link with \fI\-lm\fP.
fea681da 52.SH DESCRIPTION
5600f73a 53These functions return the value of 10
c6fa0841
MK
54raised to the power of
55.IR x .
f4fe98d1
MK
56.SH RETURN VALUE
57On success, these functions return the base-10 exponential value of
58.IR x .
847e0d88 59.PP
f4fe98d1
MK
60For various special cases, including the handling of infinity and NaN,
61as well as overflows and underflows, see
62.BR exp (3).
63.SH ERRORS
64See
65.BR math_error (7)
66for information on how to determine whether an error has occurred
67when calling these functions.
847e0d88 68.PP
f4fe98d1
MK
69For a discussion of the errors that can occur for these functions, see
70.BR exp (3).
f0d7ce1d
MK
71.SH VERSIONS
72These functions first appeared in glibc in version 2.1.
f2b5e0b6
MS
73.SH ATTRIBUTES
74For an explanation of the terms used in this section, see
75.BR attributes (7).
76.TS
77allbox;
78lbw28 lb lb
79l l l.
80Interface Attribute Value
81T{
82.BR exp10 (),
83.BR exp10f (),
84.BR exp10l ()
85T} Thread safety MT-Safe
86.TE
47297adb 87.SH CONFORMING TO
f4fe98d1 88These functions are GNU extensions.
0ba55175
MK
89.SH BUGS
90Prior to version 2.19, the glibc implementation of these functions did not set
91.I errno
92to
93.B ERANGE
94when an underflow error occurred.
95.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
47297adb 96.SH SEE ALSO
fea681da
MK
97.BR cbrt (3),
98.BR exp (3),
99.BR exp2 (3),
344dd45e 100.BR log10 (3),
0a4f8b7b 101.BR sqrt (3)