]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/exp10.3
Many pages: Use correct letter case in page titles (TH)
[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.\"
5fbde956 5.\" SPDX-License-Identifier: Linux-man-pages-copyleft
fea681da
MK
6.\"
7.\" References consulted:
8.\" Linux libc source code
9.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
10.\" 386BSD man pages
11.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
12.\" Modified 1995-08-14 by Arnt Gulbrandsen <agulbra@troll.no>
13.\" Modified 2002-07-27 by Walter Harms
14.\" (walter.harms@informatik.uni-oldenburg.de)
4c1c5274 15.TH exp10 3 (date) "Linux man-pages (unreleased)"
fea681da
MK
16.SH NAME
17exp10, exp10f, exp10l \- base-10 exponential function
2af19291
AC
18.SH LIBRARY
19Math library
8fc3b2cf 20.RI ( libm ", " \-lm )
fea681da
MK
21.SH SYNOPSIS
22.nf
b80f966b 23.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
fea681da 24.B #include <math.h>
68e4db0a 25.PP
fea681da 26.BI "double exp10(double " x );
fea681da 27.BI "float exp10f(float " x );
fea681da
MK
28.BI "long double exp10l(long double " x );
29.fi
fea681da 30.SH DESCRIPTION
5600f73a 31These functions return the value of 10
c6fa0841
MK
32raised to the power of
33.IR x .
f4fe98d1
MK
34.SH RETURN VALUE
35On success, these functions return the base-10 exponential value of
36.IR x .
847e0d88 37.PP
f4fe98d1
MK
38For various special cases, including the handling of infinity and NaN,
39as well as overflows and underflows, see
40.BR exp (3).
41.SH ERRORS
42See
43.BR math_error (7)
44for information on how to determine whether an error has occurred
45when calling these functions.
847e0d88 46.PP
f4fe98d1
MK
47For a discussion of the errors that can occur for these functions, see
48.BR exp (3).
f0d7ce1d
MK
49.SH VERSIONS
50These functions first appeared in glibc in version 2.1.
f2b5e0b6
MS
51.SH ATTRIBUTES
52For an explanation of the terms used in this section, see
53.BR attributes (7).
c466875e
MK
54.ad l
55.nh
f2b5e0b6
MS
56.TS
57allbox;
c466875e 58lbx lb lb
f2b5e0b6
MS
59l l l.
60Interface Attribute Value
61T{
62.BR exp10 (),
63.BR exp10f (),
64.BR exp10l ()
65T} Thread safety MT-Safe
66.TE
c466875e
MK
67.hy
68.ad
69.sp 1
3113c7f3 70.SH STANDARDS
f4fe98d1 71These functions are GNU extensions.
0ba55175
MK
72.SH BUGS
73Prior to version 2.19, the glibc implementation of these functions did not set
74.I errno
75to
76.B ERANGE
77when an underflow error occurred.
78.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
47297adb 79.SH SEE ALSO
fea681da
MK
80.BR cbrt (3),
81.BR exp (3),
82.BR exp2 (3),
344dd45e 83.BR log10 (3),
0a4f8b7b 84.BR sqrt (3)