1exp10(3) Library Functions Manual exp10(3)
2
3
4
6 exp10, exp10f, exp10l - base-10 exponential function
7
9 Math library (libm, -lm)
10
12 #define _GNU_SOURCE /* See feature_test_macros(7) */
13 #include <math.h>
14
15 double exp10(double x);
16 float exp10f(float x);
17 long double exp10l(long double x);
18
20 These functions return the value of 10 raised to the power of x.
21
23 On success, these functions return the base-10 exponential value of x.
24
25 For various special cases, including the handling of infinity and NaN,
26 as well as overflows and underflows, see exp(3).
27
29 See math_error(7) for information on how to determine whether an error
30 has occurred when calling these functions.
31
32 For a discussion of the errors that can occur for these functions, see
33 exp(3).
34
36 For an explanation of the terms used in this section, see at‐
37 tributes(7).
38
39 ┌────────────────────────────────────────────┬───────────────┬─────────┐
40 │Interface │ Attribute │ Value │
41 ├────────────────────────────────────────────┼───────────────┼─────────┤
42 │exp10(), exp10f(), exp10l() │ Thread safety │ MT-Safe │
43 └────────────────────────────────────────────┴───────────────┴─────────┘
44
46 GNU.
47
49 glibc 2.1.
50
52 Before glibc 2.19, the glibc implementation of these functions did not
53 set errno to ERANGE when an underflow error occurred.
54
56 cbrt(3), exp(3), exp2(3), log10(3), sqrt(3)
57
58
59
60Linux man-pages 6.05 2023-07-20 exp10(3)