\sqrt[3]{x + 1} - \sqrt[3]{x}\sqrt[3]{x + 1} - \sqrt[3]{x}(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
double code(double x) {
return cbrt(x + 1.0) - cbrt(x);
}
double code(double x) {
return cbrt(x + 1.0) - cbrt(x);
}



Bits error versus x
Results
Initial program 30.1
Simplified30.1
Final simplification30.1
herbie shell --seed 2021023
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
:precision binary64
(- (cbrt (+ x 1.0)) (cbrt x)))