![]() -> Click here to learn how to get live help <- |
SQRTIndexNAMEsqrt, sqrtf, sqrtl - square root functionSYNOPSIS#include <math.h> double sqrt(double x); float sqrtf(float x); long double sqrtl(long double x); DESCRIPTIONThe fBsqrt()fP function returns the non-negative square root of fIxfP. It fails and sets fIerrnofP to EDOM, if fIxfP is negative.ERRORS
CONFORMING TOSVID 3, POSIX, BSD 4.3, ISO 9899. The float and the long double variants are C99 requirements.SEE ALSOhypot(3)
Index |