\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)\pi \cdot \ell - \frac{\frac{1}{F}}{\cos \left(\pi \cdot \ell\right)} \cdot \left(\sin \left(\pi \cdot \ell\right) \cdot \frac{1}{F}\right)double f(double F, double l) {
double r585859 = atan2(1.0, 0.0);
double r585860 = l;
double r585861 = r585859 * r585860;
double r585862 = 1.0;
double r585863 = F;
double r585864 = r585863 * r585863;
double r585865 = r585862 / r585864;
double r585866 = tan(r585861);
double r585867 = r585865 * r585866;
double r585868 = r585861 - r585867;
return r585868;
}
double f(double F, double l) {
double r585869 = atan2(1.0, 0.0);
double r585870 = l;
double r585871 = r585869 * r585870;
double r585872 = 1.0;
double r585873 = F;
double r585874 = r585872 / r585873;
double r585875 = cos(r585871);
double r585876 = r585874 / r585875;
double r585877 = sin(r585871);
double r585878 = r585877 * r585874;
double r585879 = r585876 * r585878;
double r585880 = r585871 - r585879;
return r585880;
}



Bits error versus F



Bits error versus l
Results
Initial program 8.4
Simplified0.7
rmApplied clear-num0.7
rmApplied *-un-lft-identity0.7
Applied associate-/l*0.7
Simplified0.7
rmApplied associate-/r*0.7
rmApplied tan-quot0.7
Applied associate-/r/0.7
Applied *-un-lft-identity0.7
Applied add-cube-cbrt0.7
Applied times-frac0.7
Applied times-frac0.7
Simplified0.7
Simplified0.7
Final simplification0.7
herbie shell --seed 2019138 +o rules:numerics
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))