OSDN Git Service

0c294678ece10728fd86d8dcfecf863e7114a83e
[linuxjm/LDP_man-pages.git] / original / man3 / exp10.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3 .\"     <mtk.manpages@gmail.com>
4 .\"
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\"
25 .\" References consulted:
26 .\"     Linux libc source code
27 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
28 .\"     386BSD man pages
29 .\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
30 .\" Modified 1995-08-14 by Arnt Gulbrandsen <agulbra@troll.no>
31 .\" Modified 2002-07-27 by Walter Harms
32 .\"     (walter.harms@informatik.uni-oldenburg.de)
33 .TH EXP10 3  2008-08-11  "GNU" "Linux Programmer's Manual"
34 .SH NAME
35 exp10, exp10f, exp10l \- base-10 exponential function
36 .SH SYNOPSIS
37 .nf
38 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
39 .br
40 .B #include <math.h>
41 .sp
42 .BI "double exp10(double " x );
43 .br
44 .BI "float exp10f(float " x );
45 .br
46 .BI "long double exp10l(long double " x );
47 .fi
48 .sp
49 Link with \fI\-lm\fP.
50 .SH DESCRIPTION
51 The
52 .BR exp10 ()
53 function returns the value of 10
54 raised to the power of \fIx\fP.
55 .SH RETURN VALUE
56 On success, these functions return the base-10 exponential value of
57 .IR x .
58
59 For various special cases, including the handling of infinity and NaN,
60 as well as overflows and underflows, see
61 .BR exp (3).
62 .SH ERRORS
63 See
64 .BR math_error (7)
65 for information on how to determine whether an error has occurred
66 when calling these functions.
67
68 For a discussion of the errors that can occur for these functions, see
69 .BR exp (3).
70 .\" FIXME . exp10 doesn't give ERANGE for an underflow, unlike exp() and exp2()
71 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
72 .SH VERSIONS
73 These functions first appeared in glibc in version 2.1.
74 .SH "CONFORMING TO"
75 These functions are GNU extensions.
76 .SH "SEE ALSO"
77 .BR cbrt (3),
78 .BR exp (3),
79 .BR exp2 (3),
80 .BR log10 (3),
81 .BR sqrt (3)