\sqrt[3]{x + 1} - \sqrt[3]{x}\frac{1}{{\left(\sqrt[3]{x}\right)}^{2} + \sqrt[3]{1 + x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
(FPCore (x) :precision binary64 (/ 1.0 (+ (pow (cbrt x) 2.0) (* (cbrt (+ 1.0 x)) (+ (cbrt x) (cbrt (+ 1.0 x)))))))
double code(double x) {
return cbrt(x + 1.0) - cbrt(x);
}
double code(double x) {
return 1.0 / (pow(cbrt(x), 2.0) + (cbrt(1.0 + x) * (cbrt(x) + cbrt(1.0 + x))));
}



Bits error versus x
Results
Initial program 30.9
rmApplied flip3--_binary64_42330.9
Simplified0.6
Simplified32.8
rmApplied sqr-pow_binary64_39132.8
Simplified32.6
Simplified0.6
rmApplied pow2_binary64_5000.6
Final simplification0.6
herbie shell --seed 2020349
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
:precision binary64
(- (cbrt (+ x 1.0)) (cbrt x)))