cbrt
cbrtβ
descriptionβ
Syntaxβ
DOUBLE cbrt(DOUBLE x)
Returns the cube root of x.
exampleβ
mysql> select cbrt(8);
+-----------+
| cbrt(8.0) |
+-----------+
| 2 |
+-----------+
mysql> select cbrt(2.0);
+--------------------+
| cbrt(2.0) |
+--------------------+
| 1.2599210498948734 |
+--------------------+
mysql> select cbrt(-1000.0);
+---------------+
| cbrt(-1000.0) |
+---------------+
| -10 |
+---------------+
keywordsβ
CBRT