up | Inhaltsverzeichniss | Kommentar

Manual page for SQRT(3M)

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

math(3M)


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97