| 1 |
'\" t |
| 2 |
.\" Copyright 1993, David Metcalfe <[email protected]> |
| 3 |
.\" Copyright, the authors of the Linux man-pages project |
| 4 |
.\" |
| 5 |
.\" SPDX-License-Identifier: Linux-man-pages-copyleft |
| 6 |
.\" |
| 7 |
.TH exp10 3 2026-02-08 "Linux man-pages 6.18" |
| 8 |
.SH NAME |
| 9 |
exp10, exp10f, exp10l \- base-10 exponential function |
| 10 |
.SH LIBRARY |
| 11 |
Math library |
| 12 |
.RI ( libm ,\~ \-lm ) |
| 13 |
.SH SYNOPSIS |
| 14 |
.nf |
| 15 |
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" |
| 16 |
.B #include <math.h> |
| 17 |
.P |
| 18 |
.BI "double exp10(double " x ); |
| 19 |
.BI "float exp10f(float " x ); |
| 20 |
.BI "long double exp10l(long double " x ); |
| 21 |
.fi |
| 22 |
.SH DESCRIPTION |
| 23 |
These functions return the value of 10 |
| 24 |
raised to the power of |
| 25 |
.IR x . |
| 26 |
.SH RETURN VALUE |
| 27 |
On success, these functions return the base-10 exponential value of |
| 28 |
.IR x . |
| 29 |
.P |
| 30 |
For various special cases, including the handling of infinity and NaN, |
| 31 |
as well as overflows and underflows, see |
| 32 |
.BR exp (3). |
| 33 |
.SH ERRORS |
| 34 |
See |
| 35 |
.BR math_error (7) |
| 36 |
for information on how to determine whether an error has occurred |
| 37 |
when calling these functions. |
| 38 |
.P |
| 39 |
For a discussion of the errors that can occur for these functions, see |
| 40 |
.BR exp (3). |
| 41 |
.SH ATTRIBUTES |
| 42 |
For an explanation of the terms used in this section, see |
| 43 |
.BR attributes (7). |
| 44 |
.TS |
| 45 |
allbox; |
| 46 |
lbx lb lb |
| 47 |
l l l. |
| 48 |
Interface Attribute Value |
| 49 |
T{ |
| 50 |
.na |
| 51 |
.nh |
| 52 |
.BR exp10 (), |
| 53 |
.BR exp10f (), |
| 54 |
.BR exp10l () |
| 55 |
T} Thread safety MT-Safe |
| 56 |
.TE |
| 57 |
.SH STANDARDS |
| 58 |
GNU. |
| 59 |
.SH HISTORY |
| 60 |
glibc 2.1. |
| 61 |
.SH BUGS |
| 62 |
Before glibc 2.19, the glibc implementation of these functions did not set |
| 63 |
.I errno |
| 64 |
to |
| 65 |
.B ERANGE |
| 66 |
when an underflow error occurred. |
| 67 |
.\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=6787 |
| 68 |
.SH SEE ALSO |
| 69 |
.BR cbrt (3), |
| 70 |
.BR exp (3), |
| 71 |
.BR exp2 (3), |
| 72 |
.BR log10 (3), |
| 73 |
.BR sqrt (3) |