SQRT(3M) — UNIX Programmer’s Manual
NAME
sqrt, cbrt − square root, cube root
SYNOPSIS
#include <math.h>
double sqrt(double x);
(ALSO AVAILABLE IN BSD)
double cbrt(double x);
DESCRIPTION
Sqrt(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 ALSO
4.3 Berkeley Distribution — August 1, 1992