\sqrt[3]{x + 1} - \sqrt[3]{x}\sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}} \cdot \sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}double f(double x) {
double r54329 = x;
double r54330 = 1.0;
double r54331 = r54329 + r54330;
double r54332 = cbrt(r54331);
double r54333 = cbrt(r54329);
double r54334 = r54332 - r54333;
return r54334;
}
double f(double x) {
double r54335 = 1.0;
double r54336 = x;
double r54337 = cbrt(r54336);
double r54338 = r54336 + r54335;
double r54339 = cbrt(r54338);
double r54340 = r54339 + r54337;
double r54341 = r54339 * r54339;
double r54342 = fma(r54337, r54340, r54341);
double r54343 = r54335 / r54342;
double r54344 = sqrt(r54343);
double r54345 = r54344 * r54344;
return r54345;
}



Bits error versus x
Initial program 29.8
rmApplied add-log-exp31.4
Applied add-log-exp31.4
Applied diff-log31.4
Simplified29.8
rmApplied flip3--29.8
Simplified29.4
Simplified29.4
rmApplied add-sqr-sqrt29.4
Applied exp-prod29.4
Applied log-pow27.9
Simplified0.6
Final simplification0.6
herbie shell --seed 2019194 +o rules:numerics
(FPCore (x)
:name "2cbrt (problem 3.3.4)"
(- (cbrt (+ x 1.0)) (cbrt x)))