]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/pow10.3
fuse.4: ffix
[thirdparty/man-pages.git] / man3 / pow10.3
1 .\" Copyright 2004 Andries Brouwer (aeb@cwi.nl)
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
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.
12 .\"
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.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .TH POW10 3 2017-09-15 "" "Linux Programmer's Manual"
26 .SH NAME
27 pow10, pow10f, pow10l \- base-10 power functions
28 .SH SYNOPSIS
29 .nf
30 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
31 .B #include <math.h>
32 .PP
33 .BI "double pow10(double " x );
34 .BI "float pow10f(float " x );
35 .BI "long double pow10l(long double " x );
36 .fi
37 .PP
38 Link with \fI\-lm\fP.
39 .SH DESCRIPTION
40 These functions return the value of 10 raised to the power
41 .IR x .
42 .PP
43 .BR "Note well" :
44 These functions perform exactly the same task as the functions described in
45 .BR exp10 (3),
46 with the difference that the latter functions are now standardized
47 in TS\ 18661-4:2015.
48 Those latter functions should be used in preference
49 to the functions described in this page.
50 .SH VERSIONS
51 These functions first appeared in glibc in version 2.1.
52 Since glibc 2.27,
53 .\" glibc commit 5a80d39d0d2587e9bd8e72f19e92eeb2a66fbe9e
54 the use of these functions in new programs is no longer supported.
55 .SH ATTRIBUTES
56 For an explanation of the terms used in this section, see
57 .BR attributes (7).
58 .TS
59 allbox;
60 lbw28 lb lb
61 l l l.
62 Interface Attribute Value
63 T{
64 .BR pow10 (),
65 .BR pow10f (),
66 .BR pow10l ()
67 T} Thread safety MT-Safe
68 .TE
69 .SH CONFORMING TO
70 This functions are nonstandard GNU extensions.
71 .SH SEE ALSO
72 .BR exp10 (3),
73 .BR pow (3)