1POW10(3) Linux Programmer's Manual POW10(3)
2
3
4
6 pow10, pow10f, pow10l - base-10 power functions
7
9 #define _GNU_SOURCE /* See feature_test_macros(7) */
10 #include <math.h>
11
12 double pow10(double x);
13 float pow10f(float x);
14 long double pow10l(long double x);
15
16 Link with -lm.
17
19 These functions return the value of 10 raised to the power x.
20
21 Note well: These functions perform exactly the same task as the func‐
22 tions described in exp10(3), with the difference that the latter func‐
23 tions are now standardized in TS 18661-4:2015. Those latter functions
24 should be used in preference to the functions described in this page.
25
27 These functions first appeared in glibc in version 2.1. Since glibc
28 2.27, the use of these functions in new programs is no longer sup‐
29 ported.
30
32 For an explanation of the terms used in this section, see
33 attributes(7).
34
35 ┌─────────────────────────────┬───────────────┬─────────┐
36 │Interface │ Attribute │ Value │
37 ├─────────────────────────────┼───────────────┼─────────┤
38 │pow10(), pow10f(), pow10l() │ Thread safety │ MT-Safe │
39 └─────────────────────────────┴───────────────┴─────────┘
41 This functions are nonstandard GNU extensions.
42
44 exp10(3), pow(3)
45
47 This page is part of release 4.16 of the Linux man-pages project. A
48 description of the project, information about reporting bugs, and the
49 latest version of this page, can be found at
50 https://www.kernel.org/doc/man-pages/.
51
52
53
54 2017-09-15 POW10(3)