OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / logb.3
index 4540f9c..1a92270 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.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" Inspired by a page by Walter Harms created 2002-08-10
 .\"
-.TH LOGB 3 2008-08-05 "" "Linux Programmer's Manual"
+.TH LOGB 3 2010-09-20 "" "Linux Programmer's Manual"
 .SH NAME
 logb, logbf, logbl \- get exponent of a floating-point value
 .SH SYNOPSIS
@@ -45,13 +47,24 @@ Feature Test Macro Requirements for glibc (see
 .sp
 .ad l
 .BR logb ():
-_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
+.RS 4
+_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or
 .I cc\ -std=c99
+.RE
 .br
 .BR logbf (),
 .BR logbl ():
-_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
+.RE
 .ad b
 .SH DESCRIPTION
 These functions extract the exponent from the
@@ -127,8 +140,8 @@ These functions do not set
 .\" .BR logb ()
 .\" function occurs in 4.3BSD.
 .\" see IEEE.3 in the 4.3BSD manual
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 C99, POSIX.1-2001.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR ilogb (3),
 .BR log (3)