1EXP10(3) Linux Programmer's Manual EXP10(3)
2
3
4
6 exp10, exp10f, exp10l - base-10 exponential function
7
9 #define _GNU_SOURCE /* See feature_test_macros(7) */
10 #include <math.h>
11
12 double exp10(double x);
13 float exp10f(float x);
14 long double exp10l(long double x);
15
16 Link with -lm.
17
19 These functions return the value of 10 raised to the power of x.
20
22 On success, these functions return the base-10 exponential value of x.
23
24 For various special cases, including the handling of infinity and NaN,
25 as well as overflows and underflows, see exp(3).
26
28 See math_error(7) for information on how to determine whether an error
29 has occurred when calling these functions.
30
31 For a discussion of the errors that can occur for these functions, see
32 exp(3).
33
35 These functions first appeared in glibc in version 2.1.
36
38 For an explanation of the terms used in this section, see at‐
39 tributes(7).
40
41 ┌────────────────────────────────────────────┬───────────────┬─────────┐
42 │Interface │ Attribute │ Value │
43 ├────────────────────────────────────────────┼───────────────┼─────────┤
44 │exp10(), exp10f(), exp10l() │ Thread safety │ MT-Safe │
45 └────────────────────────────────────────────┴───────────────┴─────────┘
46
48 These functions are GNU extensions.
49
51 Prior to version 2.19, the glibc implementation of these functions did
52 not set errno to ERANGE when an underflow error occurred.
53
55 cbrt(3), exp(3), exp2(3), log10(3), sqrt(3)
56
58 This page is part of release 5.13 of the Linux man-pages project. A
59 description of the project, information about reporting bugs, and the
60 latest version of this page, can be found at
61 https://www.kernel.org/doc/man-pages/.
62
63
64
65GNU 2021-03-22 EXP10(3)