SYNOPSIS: Added feature test macro requirements.

Added RETURN VALUE section.
Added ERRORS section; noted that errno is not set for underflow;
see http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787.
This commit is contained in:
Michael Kerrisk 2008-08-01 05:26:09 +00:00
parent 3888e21988
commit f4fe98d1ad
1 changed files with 21 additions and 2 deletions

View File

@ -1,4 +1,6 @@
.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
.\" <mtk.manpages@gmail.com>
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
@ -28,7 +30,7 @@
.\" Modified 1995-08-14 by Arnt Gulbrandsen <agulbra@troll.no>
.\" Modified 2002-07-27 by Walter Harms
.\" (walter.harms@informatik.uni-oldenburg.de)
.TH EXP10 3 2002-07-27 "GNU" "Linux Programmer's Manual"
.TH EXP10 3 2008-07-29 "GNU" "Linux Programmer's Manual"
.SH NAME
exp10, exp10f, exp10l \- base-10 exponential function
.SH SYNOPSIS
@ -50,8 +52,25 @@ The
.BR exp10 ()
function returns the value of 10
raised to the power of \fIx\fP.
.SH RETURN VALUE
On success, these functions return the base-10 exponential value of
.IR x .
For various special cases, including the handling of infinity and NaN,
as well as overflows and underflows, see
.BR exp (3).
.SH ERRORS
See
.BR math_error (7)
for information on how to determine whether an error has occurred
when calling these functions.
For a discussion of the errors that can occur for these functions, see
.BR exp (3).
.\" FIXME . exp10 doesn't give ERANGE for an underflow, unlike exp() and exp2()
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6787
.SH "CONFORMING TO"
The function is a GNU extension.
These functions are GNU extensions.
.SH "SEE ALSO"
.BR cbrt (3),
.BR exp (3),