\sqrt[3]{x + 1} - \sqrt[3]{x}
\begin{array}{l}
t_0 := \sqrt[3]{1 + x}\\
t_1 := \sqrt[3]{t_0}\\
\frac{1}{t_0 \cdot t_0 + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x} \cdot \left(t_1 \cdot \left(t_1 \cdot t_1\right)\right)\right)}
\end{array}
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
(FPCore (x)
:precision binary64
(let* ((t_0 (cbrt (+ 1.0 x))) (t_1 (cbrt t_0)))
(/
1.0
(+
(* t_0 t_0)
(+ (* (cbrt x) (cbrt x)) (* (cbrt x) (* t_1 (* t_1 t_1))))))))double code(double x) {
return cbrt(x + 1.0) - cbrt(x);
}
double code(double x) {
double t_0 = cbrt(1.0 + x);
double t_1 = cbrt(t_0);
return 1.0 / ((t_0 * t_0) + ((cbrt(x) * cbrt(x)) + (cbrt(x) * (t_1 * (t_1 * t_1)))));
}



Bits error versus x
Results
Initial program 29.5
Applied flip3--_binary6429.4
Taylor expanded in x around 0 0.5
Applied add-cube-cbrt_binary640.6
Final simplification0.6
herbie shell --seed 2022068
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
:precision binary64
(- (cbrt (+ x 1.0)) (cbrt x)))