SQRT(3M)SQRT(3M)NAME
sqrt, cbrt - square root, cube root
SYNOPSIS
#include <math.h>
double sqrt(double x);
(ALSO AVAILABLE IN BSD)
double cbrt(double x);
DESCRIPTIONSqrt(x) returns the square root of x.
Cbrt(x) returns the square root of x. Cbrt is not neither ANSI- nor
POSIX-compliant.
ERROR (due to roundoff, etc.)
Sqrt on a machine that conforms to IEEE 754 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.
Cbrt is accurate to within 0.7 ulps.
SEE ALSOmath(3M)4.3 Berkeley Distribution August 1, 1992 SQRT(3M)