sqrt(3) Library Functions Manual sqrt(3) sqrt, sqrtf, sqrtl - (libm, -lm) #include double sqrt(double x); float sqrtf(float x); long double sqrtl(long double x); glibc (. feature_test_macros(7)): sqrtf(), sqrtl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE x. x. x NaN, NaN. x +0 (-0), +0 (-0). x , . x -0, , NaN. math_error(7), , . : : x -0 errno EDOM. (FE_INVALID). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |sqrt(), sqrtf(), sqrtl() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. C99, POSIX.1-2001. , double, SVr4, 4.3BSD, C89. cbrt(3), csqrt(3), hypot(3) () Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . sqrt(3)