]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/exp10.3
update timestamp
[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
MK
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.
c13182ef 13.\"
fea681da
MK
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.
c13182ef 21.\"
fea681da
MK
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)
a1949252 33.TH EXP10 3 2008-08-05 "GNU" "Linux Programmer's Manual"
fea681da
MK
34.SH NAME
35exp10, exp10f, exp10l \- base-10 exponential function
36.SH SYNOPSIS
37.nf
38.B #define _GNU_SOURCE
39.br
40.B #include <math.h>
41.sp
42.BI "double exp10(double " x );
d39541ec 43.br
fea681da 44.BI "float exp10f(float " x );
d39541ec 45.br
fea681da
MK
46.BI "long double exp10l(long double " x );
47.fi
48.sp
20c58d70 49Link with \fI\-lm\fP.
fea681da 50.SH DESCRIPTION
60a90ecd
MK
51The
52.BR exp10 ()
53function returns the value of 10
fea681da 54raised to the power of \fIx\fP.
f4fe98d1
MK
55.SH RETURN VALUE
56On success, these functions return the base-10 exponential value of
57.IR x .
58
59For various special cases, including the handling of infinity and NaN,
60as well as overflows and underflows, see
61.BR exp (3).
62.SH ERRORS
63See
64.BR math_error (7)
65for information on how to determine whether an error has occurred
66when calling these functions.
67
68For a discussion of the errors that can occur for these functions, see
69.BR exp (3).
70.\" FIXME . exp10 doesn't give ERANGE for an underflow, unlike exp() and exp2()
71.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
fea681da 72.SH "CONFORMING TO"
f4fe98d1 73These functions are GNU extensions.
fea681da
MK
74.SH "SEE ALSO"
75.BR cbrt (3),
76.BR exp (3),
77.BR exp2 (3),
344dd45e 78.BR log10 (3),
0a90178c
MK
79.BR sqrt (3),
80.BR feature_test_macros (7)