COST (GBP)

1.40

0
Cube Root
Returns the cube root of the argument, which may be negative.
Controller:
CodeCogs
Interface
#include <codecogs/maths/combinatorics/arithmetic/cube_root.h>
using namespace Maths::Arithmetic;
| double | cubeRoot (double x)
Returns the cube root of the argument, which may be negative. |
These functions are available for Microsoft Excel (
Login to download):
| Real | cc_cubeRoot (Real x) |
Use the following HTML code to embed the calculators within other websites:
| Name | HTML Code |
|---|
cubeRoot
Returns the cube root of the argument, which may be negative. | |
CubeRoot
Range reduction involves determining the power of 2 of the argument. A polynomial of degree 2 applied to the
mantissa, and multiplication by the cube root of 1, 2, or 4 approximates the root to within about 0.1%. Then
Newton's iteration is used three times to converge to an accurate result.
Accuracy:
<pre>
Relative error:
arithmetic domain # trials peak rms
DEC -10,10 200000 1.8e-17 6.2e-18
IEEE 0,1e308 30000 1.5e-16 5.0e-17
</pre>
References
Cephes Math Library Release 2.8: June, 2000
Parameters
Authors
- Stephen L. Moshier. Copyright 1984, 1991, 2000
Documentation by Will Bateman (August 2005)
Source Code
Source code is available when you buy a Commercial licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
You must login to leave a messge