mirror of https://github.com/mkerrisk/man-pages
SYNOPSIS: Fixed feature test macro requirements.
Added RETURN VALUE section. Added (null) ERRORS section. Updated CONFORMING TO.
This commit is contained in:
parent
138b47a97e
commit
54b0fbfb44
22
man3/cbrt.3
22
man3/cbrt.3
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue