.\" 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
.\" Modified 2002-07-27 by Walter Harms
.\" (walter.harms@informatik.uni-oldenburg.de)
.\"
-.TH LOG10 3 2002-07-27 "" "Linux Programmer's Manual"
+.TH LOG10 3 2008-07-29 "" "Linux Programmer's Manual"
.SH NAME
log10, log10f, log10l \- base-10 logarithmic function
.SH SYNOPSIS
.fi
.sp
Link with \fI\-lm\fP.
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR log10f (),
+.BR log10l ():
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.I cc\ -std=c99
+.ad b
.SH DESCRIPTION
The
.BR log10 ()
function returns the base 10 logarithm of \fIx\fP.
+.SH RETURN VALUE
+On success, these functions return the base 10 logarithm of
+.IR x .
+
+For special cases, including where
+.I x
+is 0, 1, negative, infinity, or NaN, see
+.BR log (3).
.SH ERRORS
-The
-.BR log10 ()
-function can return the following errors:
-.TP
-.B EDOM
-The argument \fIx\fP is negative.
-.TP
-.B ERANGE
-The argument \fIx\fP is zero.
-The log of zero is not defined.
+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 log (3).
.SH "CONFORMING TO"
+C99, POSIX.1-2001.
+The variant returning
+.I double
+also conforms to
SVr4, 4.3BSD, C89.
-The
-.I float
-and
-.I "long double"
-variants are C99 requirements.
.SH "SEE ALSO"
.BR cbrt (3),
.BR clog10 (3),