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
39 attributes(7).
40
41 ┌─────────────────────────────┬───────────────┬─────────┐
42 │Interface │ Attribute │ Value │
43 ├─────────────────────────────┼───────────────┼─────────┤
44 │exp10(), exp10f(), exp10l() │ Thread safety │ MT-Safe │
45 └─────────────────────────────┴───────────────┴─────────┘
47 These functions are GNU extensions.
48
50 Prior to version 2.19, the glibc implementation of these functions did
51 not set errno to ERANGE when an underflow error occurred.
52
54 cbrt(3), exp(3), exp2(3), log10(3), sqrt(3)
55
57 This page is part of release 4.15 of the Linux man-pages project. A
58 description of the project, information about reporting bugs, and the
59 latest version of this page, can be found at
60 https://www.kernel.org/doc/man-pages/.
61
62
63
64GNU 2017-09-15 EXP10(3)