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