1cbrt(3M) Mathematical Library Functions cbrt(3M)
2
3
4
6 cbrt, cbrtf, cbrtl - cube root functions
7
9 c99 [ flag... ] file... -lm [ library... ]
10 #include <math.h>
11
12 double cbrt(double x);
13
14
15 float cbrtf(float x);
16
17
18 long double cbrtl(long double x);
19
20
22 These functions compute the real cube root of their argument x.
23
25 On successful completion, these functions return the cube root of x.
26
27
28 If x is NaN, a NaN is returned.
29
30
31 If x is ±0 or ±Inf, x is returned.
32
34 No errors are defined.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Standard │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │MT-Level │MT-Safe │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 math.h(3HEAD), attributes(5), standards(5)
52
53
54
55SunOS 5.11 12 Jul 2006 cbrt(3M)