\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)\pi \cdot \ell - \frac{1}{F} \cdot \frac{\sin \left(\pi \cdot \ell\right) \cdot \frac{1}{F}}{\cos \left(\sqrt{\pi} \cdot \left(\ell \cdot \sqrt{\pi}\right)\right)}(FPCore (F l) :precision binary64 (- (* PI l) (* (/ 1.0 (* F F)) (tan (* PI l)))))
(FPCore (F l) :precision binary64 (- (* PI l) (* (/ 1.0 F) (/ (* (sin (* PI l)) (/ 1.0 F)) (cos (* (sqrt PI) (* l (sqrt PI))))))))
double code(double F, double l) {
return ((double) (((double) (((double) M_PI) * l)) - ((double) ((1.0 / ((double) (F * F))) * ((double) tan(((double) (((double) M_PI) * l))))))));
}
double code(double F, double l) {
return ((double) (((double) (((double) M_PI) * l)) - ((double) ((1.0 / F) * (((double) (((double) sin(((double) (((double) M_PI) * l)))) * (1.0 / F))) / ((double) cos(((double) (((double) sqrt(((double) M_PI))) * ((double) (l * ((double) sqrt(((double) M_PI))))))))))))));
}



Bits error versus F



Bits error versus l
Results
Initial program 16.4
rmApplied *-un-lft-identity_binary6416.4
Applied times-frac_binary6416.5
Applied associate-*l*_binary6412.4
Simplified12.4
rmApplied add-sqr-sqrt_binary6412.4
Applied associate-*l*_binary6412.4
Simplified12.4
rmApplied tan-quot_binary6412.4
Applied associate-*l/_binary6412.4
Simplified12.4
Final simplification12.4
herbie shell --seed 2020210
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
:precision binary64
(- (* PI l) (* (/ 1.0 (* F F)) (tan (* PI l)))))