ultrix man page for sqrt

Query: sqrt

OS: ultrix

Section: 3m

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

sqrt(3m)																  sqrt(3m)

Name
       cbrt, sqrt - cube root, square root

Syntax
       #include <math.h>

       double cbrt(x)
       double x;

       double sqrt(x)
       double x;

       float fsqrt(float x)
       float x;

Description
       The function returns the cube root of x.

       The and functions return the square root of x for double and float data types respectively.

   Error Due to Roundoff and Other Reasons
       The function is accurate to within 0.7 ulps.

       The function on this machine conforms to IEEE 754 and is correctly rounded in accordance with the rounding mode in force; the error is less
       than half an ulp in the default mode (round-to-nearest).  An ulp is one Unit in the Last Place carried.

Diagnostics
       The function returns the default quiet NaN when x is negative indicating the invalid operation.

See Also
       math(3m)

								       RISC								  sqrt(3m)
Related Man Pages
log1p(3m) - ultrix
pow(3m) - ultrix
cbrtf(3m) - sunos
cbrtf(3) - freebsd
sqrtl(3) - freebsd
Similar Topics in the Unix Linux Community
sqrt
sqrt is not find???
How to create SQRT function in catenate file
sqrt in bash
Q: Is SQRT(n) possible in a POSIX compliant shell? A: Yes within limits.