1SQRT(3M) SQRT(3M)
2
3
4
6 cbrt, sqrt - cube root, square root
7
9 #include <math.h>
10
11 double cbrt(x)
12 double x;
13
14 double sqrt(x)
15 double x;
16
18 Cbrt(x) returns the cube root of x.
19
20 Sqrt(x) returns the square root of x.
21
23 On a VAX, sqrt(negative) returns the reserved operand and sets errno to
24 EDOM .
25
27 Cbrt is accurate to within 0.7 ulps.
28 Sqrt on a VAX is accurate to within 0.501 ulps.
29 Sqrt on a machine that conforms to IEEE 754 is correctly rounded in
30 accordance with the rounding mode in force; the error is less than half
31 an ulp in the default mode (round-to-nearest). An ulp is one Unit in
32 the Last Place carried.
33
35 math(3M), infnan(3M)
36
38 W. Kahan
39
40
41
424.3 Berkeley Distribution May 12, 1986 SQRT(3M)