]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/pow10.3
err.3: EXAMPLES: use EXIT_FAILURE rather than 1 as exit status
[thirdparty/man-pages.git] / man3 / pow10.3
CommitLineData
fea681da
MK
1.\" Copyright 2004 Andries Brouwer (aeb@cwi.nl)
2.\"
93015253 3.\" %%%LICENSE_START(VERBATIM)
fea681da
MK
4.\" Permission is granted to make and distribute verbatim copies of this
5.\" manual provided the copyright notice and this permission notice are
6.\" preserved on all copies.
7.\"
8.\" Permission is granted to copy and distribute modified versions of this
9.\" manual under the conditions for verbatim copying, provided that the
10.\" entire resulting derived work is distributed under the terms of a
11.\" permission notice identical to this one.
c13182ef 12.\"
fea681da
MK
13.\" Since the Linux kernel and libraries are constantly changing, this
14.\" manual page may be incorrect or out-of-date. The author(s) assume no
15.\" responsibility for errors or omissions, or for damages resulting from
16.\" the use of the information contained herein. The author(s) may not
17.\" have taken the same level of care in the production of this manual,
18.\" which is licensed free of charge, as they might when working
19.\" professionally.
c13182ef 20.\"
fea681da
MK
21.\" Formatted or processed versions of this manual, if unaccompanied by
22.\" the source, must acknowledge the copyright and authors of this work.
4b72fb64 23.\" %%%LICENSE_END
fea681da 24.\"
4b8c67d9 25.TH POW10 3 2017-09-15 "" "Linux Programmer's Manual"
fea681da
MK
26.SH NAME
27pow10, pow10f, pow10l \- base-10 power functions
28.SH SYNOPSIS
29.nf
b80f966b 30.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
fea681da 31.B #include <math.h>
68e4db0a 32.PP
fea681da 33.BI "double pow10(double " x );
fea681da 34.BI "float pow10f(float " x );
fea681da
MK
35.BI "long double pow10l(long double " x );
36.fi
68e4db0a 37.PP
20c58d70 38Link with \fI\-lm\fP.
fea681da 39.SH DESCRIPTION
5600f73a 40These functions return the value of 10 raised to the power
c6fa0841 41.IR x .
6354e662
MK
42.PP
43.BR "Note well" :
44These functions perform exactly the same task as the functions described in
45.BR exp10 (3),
46with the difference that the latter functions are now standardized
8a3f19c3 47in TS\ 18661-4:2015.
6354e662
MK
48Those latter functions should be used in preference
49to the functions described in this page.
f0d7ce1d
MK
50.SH VERSIONS
51These functions first appeared in glibc in version 2.1.
6354e662
MK
52Since glibc 2.27,
53.\" glibc commit 5a80d39d0d2587e9bd8e72f19e92eeb2a66fbe9e
54the use of these functions in new programs is no longer supported.
d285b5b9
MS
55.SH ATTRIBUTES
56For an explanation of the terms used in this section, see
57.BR attributes (7).
58.TS
59allbox;
60lbw28 lb lb
61l l l.
62Interface Attribute Value
63T{
64.BR pow10 (),
65.BR pow10f (),
66.BR pow10l ()
67T} Thread safety MT-Safe
68.TE
47297adb 69.SH CONFORMING TO
b9f5883b 70This functions are nonstandard GNU extensions.
47297adb 71.SH SEE ALSO
fea681da 72.BR exp10 (3),
0a4f8b7b 73.BR pow (3)