]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/cbrt.3
Automated unformatting of parentheses using unformat_parens.sh
[thirdparty/man-pages.git] / man3 / cbrt.3
1 .\" Copyright 1995 Jim Van Zandt <jrv@vanzandt.mv.com>
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" changed `square root' into `cube root' - aeb, 950919
24 .\"
25 .\" Modified 2002-07-27 Walter Harms
26 .\" (walter.harms@informatik.uni-oldenburg.de)
27 .\"
28 .TH CBRT 3 2002-27-07 "GNU" "Linux Programmer's Manual"
29 .SH NAME
30 cbrt, cbrtf, cbrtl \- cube root function
31 .SH SYNOPSIS
32 .nf
33 .B #include <math.h>
34 .sp
35 .BI "double cbrt(double " x );
36 .br
37 .BI "float cbrtf(float " x );
38 .br
39 .BI "long double cbrtl(long double " x );
40 .fi
41 .sp
42 Link with \-lm.
43 .SH DESCRIPTION
44 The \fBcbrt\fP() function returns the (real) cube root of \fIx\fP.
45 This function cannot fail; every representable real value has a
46 representable real cube root.
47 .SH "CONFORMING TO"
48 .BR cbrt ()
49 was a GNU extension. It is now a C99 requirement.
50 .SH "SEE ALSO"
51 .BR pow (3),
52 .BR sqrt (3)