CBRT
cbrt
description
Syntax
DOUBLE cbrt(DOUBLE x)
返回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