#include <math.h>float sqrtf(float num);double sqrt(double num); long double sqrtl(long double num);
sqrtf( ) and sqrtl( ) were added by C99.
The sqrt( ) family of functions returns the square root of num. If they are called with a negative argument, a domain error will occur.
Related functions are exp( ), log( ), and pow( ).