Manpage of SQRT

Google
Web www.fiveanddime.net

SQRT

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

1.25 `sqrt', `sqrtf'--positive square root

 

SYNOPSIS


     #include <math.h>
     double sqrt(double X);
     float  sqrtf(float X);  

DESCRIPTION

`sqrt' computes the positive square root of the argument. You can modify error handling for this function with `matherr'.

 

RETURNS

On success, the square root is returned. If X is real and positive, then the result is positive. If X is real and negative, the global value `errno' is set to `EDOM' (domain error).

 

PORTABILITY

`sqrt' is ANSI C. `sqrtf' is an extension.

 

SEE ALSO

sqrt is part of the libm library. The full documentation for libm is maintained as a Texinfo manual. If info and libm are properly installed at your site, the command
info libm

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:31 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net