1pow10(3) Library Functions Manual pow10(3)
2
3
4
6 pow10, pow10f, pow10l - base-10 power functions
7
9 Math library (libm, -lm)
10
12 #define _GNU_SOURCE /* See feature_test_macros(7) */
13 #include <math.h>
14
15 double pow10(double x);
16 float pow10f(float x);
17 long double pow10l(long double x);
18
20 These functions return the value of 10 raised to the power x.
21
22 Note well: These functions perform exactly the same task as the func‐
23 tions described in exp10(3), with the difference that the latter func‐
24 tions are now standardized in TS 18661-4:2015. Those latter functions
25 should be used in preference to the functions described in this page.
26
28 For an explanation of the terms used in this section, see at‐
29 tributes(7).
30
31 ┌────────────────────────────────────────────┬───────────────┬─────────┐
32 │Interface │ Attribute │ Value │
33 ├────────────────────────────────────────────┼───────────────┼─────────┤
34 │pow10(), pow10f(), pow10l() │ Thread safety │ MT-Safe │
35 └────────────────────────────────────────────┴───────────────┴─────────┘
36
38 GNU.
39
41 glibc 2.1. Removed in glibc 2.27.
42
44 exp10(3), pow(3)
45
46
47
48Linux man-pages 6.04 2023-03-30 pow10(3)