cbrt(3) Library Functions Manual cbrt(3) cbrt, cbrtf, cbrtl - (libm, -lm) #include double cbrt(double x); float cbrtf(float x); long double cbrtl(long double x); glibc (. feature_test_macros(7)): cbrt(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 500 || /* glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE cbrtf(), cbrtl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE These functions return the (real) cube root of x. This function cannot fail; every representable real value has a real cube root, and rounding it to a representable value never causes overflow nor underflow. x. x +0, -0, , NaN, x. . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |cbrt(), cbrtf(), cbrtl() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. C99, POSIX.1-2001. pow(3), sqrt(3) () Azamat Hackimov , Dmitriy S. Seregin , Dmitry Bolkhovskikh , Katrin Kutepova , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . cbrt(3)