Debian Codegraph @

upstream/debian-trixie/man3/exp10.3

raw
1 '\" t
2 .\" Copyright 1993 David Metcalfe ([email protected])
3 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
4 .\" <[email protected]>
5 .\"
6 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
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 ([email protected])
13 .\" Modified 1995-08-14 by Arnt Gulbrandsen <[email protected]>
14 .\" Modified 2002-07-27 by Walter Harms
15 .\" ([email protected])
16 .TH exp10 3 2024-05-02 "Linux man-pages 6.9.1"
17 .SH NAME
18 exp10, exp10f, exp10l \- base-10 exponential function
19 .SH LIBRARY
20 Math library
21 .RI ( libm ", " \-lm )
22 .SH SYNOPSIS
23 .nf
24 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
25 .B #include <math.h>
26 .P
27 .BI "double exp10(double " x );
28 .BI "float exp10f(float " x );
29 .BI "long double exp10l(long double " x );
30 .fi
31 .SH DESCRIPTION
32 These functions return the value of 10
33 raised to the power of
34 .IR x .
35 .SH RETURN VALUE
36 On success, these functions return the base-10 exponential value of
37 .IR x .
38 .P
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.
47 .P
48 For a discussion of the errors that can occur for these functions, see
49 .BR exp (3).
50 .SH ATTRIBUTES
51 For an explanation of the terms used in this section, see
52 .BR attributes (7).
53 .TS
54 allbox;
55 lbx lb lb
56 l l l.
57 Interface Attribute Value
58 T{
59 .na
60 .nh
61 .BR exp10 (),
62 .BR exp10f (),
63 .BR exp10l ()
64 T} Thread safety MT-Safe
65 .TE
66 .SH STANDARDS
67 GNU.
68 .SH HISTORY
69 glibc 2.1.
70 .SH BUGS
71 Before glibc 2.19, the glibc implementation of these functions did not set
72 .I errno
73 to
74 .B ERANGE
75 when an underflow error occurred.
76 .\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=6787
77 .SH SEE ALSO
78 .BR cbrt (3),
79 .BR exp (3),
80 .BR exp2 (3),
81 .BR log10 (3),
82 .BR sqrt (3)