2 .\" Copyright 1995 Jim Van Zandt <jrv@vanzandt.mv.com>
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\" changed `square root' into `cube root' - aeb, 950919
8 .\" Modified 2002-07-27 Walter Harms
9 .\" (walter.harms@informatik.uni-oldenburg.de)
11 .TH cbrt 3 (date) "Linux man-pages (unreleased)"
13 cbrt, cbrtf, cbrtl \- cube root function
16 .RI ( libm ", " \-lm )
21 .BI "double cbrt(double " x );
22 .BI "float cbrtf(float " x );
23 .BI "long double cbrtl(long double " x );
27 Feature Test Macro Requirements for glibc (see
28 .BR feature_test_macros (7)):
33 _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
34 || _XOPEN_SOURCE >= 500
35 .\" || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
36 || /* Since glibc 2.19: */ _DEFAULT_SOURCE
37 || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
43 _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
44 || /* Since glibc 2.19: */ _DEFAULT_SOURCE
45 || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
48 These functions return the (real) cube root of
50 This function cannot fail; every representable real value has a
51 representable real cube root.
53 These functions return the cube root of
58 is +0, \-0, positive infinity, negative infinity, or NaN,
64 For an explanation of the terms used in this section, see
70 Interface Attribute Value
77 T} Thread safety MT-Safe
84 .\" was a GNU extension. It is now a C99 requirement.