Query: sqrt
OS: bsd
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SQRT(3M) SQRT(3M)NAMEcbrt, sqrt - cube root, square rootSYNOPSIS#include <math.h> double cbrt(x) double x; double sqrt(x) double x;DESCRIPTIONCbrt(x) returns the cube root of x. Sqrt(x) returns the square root of x.DIAGNOSTICSOn a VAX, sqrt(negative) returns the reserved operand and sets errno to EDOM . ERROR (due to Roundoff etc.) Cbrt is accurate to within 0.7 ulps. Sqrt on a VAX is accurate to within 0.501 ulps. 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.SEE ALSOmath(3M), infnan(3M)AUTHORW. Kahan 4.3 Berkeley Distribution May 12, 1986 SQRT(3M)
Related Man Pages |
---|
hypot(3m) - bsd |
log1p(3m) - bsd |
sqrt(3) - suse |
cbrtl(3) - freebsd |
sqrtf(3) - freebsd |