\frac{-\left(f + n\right)}{f - n}\sqrt[3]{\frac{-1}{{\left(\frac{f - n}{f + n}\right)}^{3}}}double f(double f, double n) {
double r18652 = f;
double r18653 = n;
double r18654 = r18652 + r18653;
double r18655 = -r18654;
double r18656 = r18652 - r18653;
double r18657 = r18655 / r18656;
return r18657;
}
double f(double f, double n) {
double r18658 = -1.0;
double r18659 = f;
double r18660 = n;
double r18661 = r18659 - r18660;
double r18662 = r18659 + r18660;
double r18663 = r18661 / r18662;
double r18664 = 3.0;
double r18665 = pow(r18663, r18664);
double r18666 = r18658 / r18665;
double r18667 = cbrt(r18666);
return r18667;
}



Bits error versus f



Bits error versus n
Results
Initial program 0.0
rmApplied add-cbrt-cube40.9
Applied add-cbrt-cube41.7
Applied cbrt-undiv41.7
Simplified0.0
rmApplied neg-mul-10.0
Applied associate-/l*0.0
rmApplied cube-div0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020027 +o rules:numerics
(FPCore (f n)
:name "subtraction fraction"
:precision binary64
(/ (- (+ f n)) (- f n)))