\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)\pi \cdot \ell - \frac{\sqrt{1}}{F} \cdot \frac{\frac{\sin \left(\pi \cdot \ell\right) \cdot \sqrt{1}}{F}}{\cos \left(\sqrt{\pi} \cdot \left(\sqrt{\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) - ((sqrt(1.0) / F) * (((sin((((double) M_PI) * l)) * sqrt(1.0)) / F) / cos((sqrt(((double) M_PI)) * (sqrt(((double) M_PI)) * l))))));
}



Bits error versus F



Bits error versus l
Results
Initial program 16.5
rmApplied add-sqr-sqrt16.5
Applied times-frac16.5
Applied associate-*l*12.3
rmApplied add-sqr-sqrt12.4
Applied associate-*l*12.4
rmApplied tan-quot12.4
Applied associate-*r/12.4
Simplified12.3
Final simplification12.3
herbie shell --seed 2020057
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
:precision binary64
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))