Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->sqrt() sqrtl()

Summary

#include <math.h>

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

Parameter
    
xFloating point value.

Description

This function calculates the square root of x.  The result is undefined if x is less than zero.


Return

These functions return the square root of x.