Syntax
Parameters
Return Type
DOUBLE PRECISION
Remarks
CBRT(NULL)returnsNULL.CBRT('NaN')returnsNaN.CBRT('Infinity')returnsInfinityandCBRT('-Infinity')returns-Infinity.- Unlike
SQRT,CBRTaccepts negative inputs and returns a negative result.
Example
The following example returns the cube root of 27:Rows: 1Execution time: 2.05ms
CBRT accepts negative values:
Rows: 1Execution time: 2.33ms