Crossware

Table of Contents        Previous topic       Next topic       

C LIBRARY FUNCTIONS->Detailed Descriptions->sqrt() sqrtl()

Summary

#include "math.h"

double sqrt(double x)Calculate square root to double precision
long double sqrtl(long double x);Calculate square root to long double precision


Parameter
    
xFloating point operand


Description

These functions calculate the square root of x.  The result is undefined if x is less than zero.


Return

These functions return the square root of x.