SYNOPSIS: Fixed feature test macro requirements.

Added RETURN VALUE section.
Added (null) ERRORS section.
Updated CONFORMING TO.
This commit is contained in:
Michael Kerrisk 2008-08-01 05:26:02 +00:00
parent 138b47a97e
commit 54b0fbfb44
1 changed files with 18 additions and 4 deletions

View File

@ -25,7 +25,7 @@
.\" Modified 2002-07-27 Walter Harms
.\" (walter.harms@informatik.uni-oldenburg.de)
.\"
.TH CBRT 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.TH CBRT 3 2008-07-29 "GNU" "Linux Programmer's Manual"
.SH NAME
cbrt, cbrtf, cbrtl \- cube root function
.SH SYNOPSIS
@ -47,10 +47,13 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.ad l
.BR cbrt (),
.BR cbrt ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
.I cc\ -std=c99
.br
.BR cbrtf (),
.BR cbrtl ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
.I cc\ -std=c99
.ad b
.SH DESCRIPTION
@ -59,8 +62,19 @@ The
function returns the (real) cube root of \fIx\fP.
This function cannot fail; every representable real value has a
representable real cube root.
.SH RETURN VALUE
These functions return the cube root of
.IR x .
If
.I x
is +0, -0, positive infinity, negative infinity, or NaN,
.I x
is returned.
.SH ERRORS
No errors occur.
.SH "CONFORMING TO"
C99.
C99, POSIX.1-2001.
.\" .BR cbrt ()
.\" was a GNU extension. It is now a C99 requirement.
.SH "SEE ALSO"