Returns the cube root of the argument, which may be negative.Controller: CodeCogs
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>
ReferencesCephes Math Library Release 2.8: June, 2000
x input argument.
- Stephen L. Moshier. Copyright 1984, 1991, 2000
Documentation by Will Bateman (August 2005)
Source code is available when you buy a Commercial licence.