Provided by: manpages-dev_3.35-0.1ubuntu1_all

**NAME**

cbrt, cbrtf, cbrtl - cube root function

**SYNOPSIS**

#include<math.h>doublecbrt(doublex);floatcbrtf(floatx);longdoublecbrtl(longdoublex);Link with-lm. Feature Test Macro Requirements for glibc (seefeature_test_macros(7)):cbrt(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 500 || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L; orcc-std=c99cbrtf(),cbrtl(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE || _POSIX_C_SOUCE >= 200112L; orcc-std=c99

**DESCRIPTION**

Thecbrt() function returns the (real) cube root ofx. This function cannot fail; every representable real value has a representable real cube root.

**RETURN** **VALUE**

These functions return the cube root ofx. Ifxis +0, -0, positive infinity, negative infinity, or NaN,xis returned.

**ERRORS**

No errors occur.

**CONFORMING** **TO**

C99, POSIX.1-2001.

**SEE** **ALSO**

pow(3),sqrt(3)

**COLOPHON**

This page is part of release 3.35 of the Linuxman-pagesproject. A description of the project, and information about reporting bugs, can be found at http://man7.org/linux/man- pages/.