\sqrt[3]{x + 1} - \sqrt[3]{x}\frac{1}{\sqrt[3]{x} \cdot \sqrt[3]{x} + \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 (+ (* (cbrt x) (cbrt x)) (* (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 / ((cbrt(x) * cbrt(x)) + (cbrt(1.0 + x) * (cbrt(x) + cbrt(1.0 + x))));
}



Bits error versus x
Results
Initial program 29.3
rmApplied flip3--_binary64_42329.2
Simplified0.5
Simplified34.0
rmApplied sqr-pow_binary64_39134.0
Simplified33.8
Simplified0.5
Final simplification0.5
herbie shell --seed 2020343
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
:precision binary64
(- (cbrt (+ x 1.0)) (cbrt x)))