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
exp(3m) - ultrix
pow(3m) - ultrix
cbrtl(3m) - sunos
sqrtl(3) - freebsd
sqrtf(3) - freebsd
Similar Topics in the Unix Linux Community
How to create SQRT function in catenate file
how can i find sqrt of a any number without using expr
C Library reference error using sqrt() - will not compile.
sqrt in bash
Q: Is SQRT(n) possible in a POSIX compliant shell? A: Yes within limits.