FloatingPointComparison.CubeRoot Method |
Computes the real-valued cube root if a given number. The cube root of a negative value is the
negative of the cube root of that value's magnitude.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static double CubeRoot(
double x
)
Public Shared Function CubeRoot (
x As Double
) As Double
public:
static double CubeRoot(
double x
)
static member CubeRoot :
x : float -> float
Parameters
- x
- Type: System.Double
The value for which to compute the cube root.
Return Value
Type:
DoubleThe cube root.
See Also