\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)\pi \cdot \ell - \frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{F} \cdot \frac{\sqrt[3]{1}}{\frac{F}{\pi \cdot \ell} - \frac{1}{3} \cdot \left(F \cdot \left(\pi \cdot \ell\right)\right)}double code(double F, double l) {
return ((((double) M_PI) * l) - ((1.0 / (F * F)) * tan((((double) M_PI) * l))));
}
double code(double F, double l) {
return ((((double) M_PI) * l) - (((cbrt(1.0) * cbrt(1.0)) / F) * (cbrt(1.0) / ((F / (((double) M_PI) * l)) - (0.3333333333333333 * (F * (((double) M_PI) * l)))))));
}



Bits error versus F



Bits error versus l
Results
Initial program 16.6
rmApplied add-cube-cbrt16.6
Applied times-frac16.7
Applied associate-*l*12.6
rmApplied associate-*l/12.6
rmApplied associate-/l*12.6
Taylor expanded around 0 8.5
Final simplification8.5
herbie shell --seed 2020060 +o rules:numerics
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
:precision binary64
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))