OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / log.3
index b3f6620..7201fcc 100644 (file)
@@ -2,6 +2,7 @@
 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -21,6 +22,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
@@ -31,7 +33,7 @@
 .\" Modified 2002-07-27 by Walter Harms
 .\"    (walter.harms@informatik.uni-oldenburg.de)
 .\"
-.TH LOG 3  2010-06-13  "" "Linux Programmer's Manual"
+.TH LOG 3  2010-09-20  "" "Linux Programmer's Manual"
 .SH NAME
 log, logf, logl \- natural logarithmic function
 .SH SYNOPSIS
@@ -55,9 +57,14 @@ Feature Test Macro Requirements for glibc (see
 .ad l
 .BR logf (),
 .BR logl ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or
 .I cc\ -std=c99
-.ad b
+.RE
+.ad
 .SH DESCRIPTION
 The
 .BR log ()
@@ -117,7 +124,7 @@ is set to
 A divide-by-zero floating-point exception
 .RB ( FE_DIVBYZERO )
 is raised.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 C99, POSIX.1-2001.
 The variant returning
 .I double
@@ -130,10 +137,10 @@ taking the
 of a NaN produces a bogus invalid floating-point
 .RB ( FE_INVALID )
 exception.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR cbrt (3),
 .BR clog (3),
-.BR log2 (3),
 .BR log10 (3),
 .BR log1p (3),
+.BR log2 (3),
 .BR sqrt (3)