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 || /* Since 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() | | MT-Safe | |sqrtf() | | | |sqrtl() | | | +------------+------------------------------------+--------------------+ C11, POSIX.1-2008. C99 POSIX.1-2001. double SVr4 4.3BSD C89. cbrt(3) csqrt(3) hypot(3) 3 . . : . 6.18 8 2026 sqrt(3)