]>
Commit | Line | Data |
---|---|---|
a1eaacb1 | 1 | '\" t |
fea681da | 2 | .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) |
f4fe98d1 MK |
3 | .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk |
4 | .\" <mtk.manpages@gmail.com> | |
fea681da | 5 | .\" |
5fbde956 | 6 | .\" SPDX-License-Identifier: Linux-man-pages-copyleft |
fea681da MK |
7 | .\" |
8 | .\" References consulted: | |
9 | .\" Linux libc source code | |
10 | .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) | |
11 | .\" 386BSD man pages | |
12 | .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu) | |
13 | .\" Modified 1995-08-14 by Arnt Gulbrandsen <agulbra@troll.no> | |
14 | .\" Modified 2002-07-27 by Walter Harms | |
15 | .\" (walter.harms@informatik.uni-oldenburg.de) | |
4c1c5274 | 16 | .TH exp10 3 (date) "Linux man-pages (unreleased)" |
fea681da MK |
17 | .SH NAME |
18 | exp10, exp10f, exp10l \- base-10 exponential function | |
2af19291 AC |
19 | .SH LIBRARY |
20 | Math library | |
8fc3b2cf | 21 | .RI ( libm ", " \-lm ) |
fea681da MK |
22 | .SH SYNOPSIS |
23 | .nf | |
b80f966b | 24 | .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" |
fea681da | 25 | .B #include <math.h> |
68e4db0a | 26 | .PP |
fea681da | 27 | .BI "double exp10(double " x ); |
fea681da | 28 | .BI "float exp10f(float " x ); |
fea681da MK |
29 | .BI "long double exp10l(long double " x ); |
30 | .fi | |
fea681da | 31 | .SH DESCRIPTION |
5600f73a | 32 | These functions return the value of 10 |
c6fa0841 MK |
33 | raised to the power of |
34 | .IR x . | |
f4fe98d1 MK |
35 | .SH RETURN VALUE |
36 | On success, these functions return the base-10 exponential value of | |
37 | .IR x . | |
847e0d88 | 38 | .PP |
f4fe98d1 MK |
39 | For various special cases, including the handling of infinity and NaN, |
40 | as well as overflows and underflows, see | |
41 | .BR exp (3). | |
42 | .SH ERRORS | |
43 | See | |
44 | .BR math_error (7) | |
45 | for information on how to determine whether an error has occurred | |
46 | when calling these functions. | |
847e0d88 | 47 | .PP |
f4fe98d1 MK |
48 | For a discussion of the errors that can occur for these functions, see |
49 | .BR exp (3). | |
f2b5e0b6 MS |
50 | .SH ATTRIBUTES |
51 | For an explanation of the terms used in this section, see | |
52 | .BR attributes (7). | |
53 | .TS | |
54 | allbox; | |
c466875e | 55 | lbx lb lb |
f2b5e0b6 MS |
56 | l l l. |
57 | Interface Attribute Value | |
58 | T{ | |
9e54434e BR |
59 | .na |
60 | .nh | |
f2b5e0b6 MS |
61 | .BR exp10 (), |
62 | .BR exp10f (), | |
63 | .BR exp10l () | |
64 | T} Thread safety MT-Safe | |
65 | .TE | |
c466875e | 66 | .sp 1 |
3113c7f3 | 67 | .SH STANDARDS |
4131356c AC |
68 | GNU. |
69 | .SH HISTORY | |
70 | glibc 2.1. | |
0ba55175 | 71 | .SH BUGS |
b324e17d | 72 | Before glibc 2.19, the glibc implementation of these functions did not set |
0ba55175 MK |
73 | .I errno |
74 | to | |
75 | .B ERANGE | |
76 | when an underflow error occurred. | |
fd00f831 | 77 | .\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=6787 |
47297adb | 78 | .SH SEE ALSO |
fea681da MK |
79 | .BR cbrt (3), |
80 | .BR exp (3), | |
81 | .BR exp2 (3), | |
344dd45e | 82 | .BR log10 (3), |
0a4f8b7b | 83 | .BR sqrt (3) |