\frac{2}{\left(\left(\frac{{t}^{3}}{\ell \cdot \ell} \cdot \sin k\right) \cdot \tan k\right) \cdot \left(\left(1 + {\left(\frac{k}{t}\right)}^{2}\right) - 1\right)}\frac{\frac{2}{\left(\sin k \cdot \left(t \cdot \sin k\right)\right) \cdot \frac{k}{\ell}}}{\frac{k}{\frac{\ell}{\frac{1}{\cos k}}}}(FPCore (t l k) :precision binary64 (/ 2.0 (* (* (* (/ (pow t 3.0) (* l l)) (sin k)) (tan k)) (- (+ 1.0 (pow (/ k t) 2.0)) 1.0))))
(FPCore (t l k) :precision binary64 (/ (/ 2.0 (* (* (sin k) (* t (sin k))) (/ k l))) (/ k (/ l (/ 1.0 (cos k))))))
double code(double t, double l, double k) {
return 2.0 / ((((pow(t, 3.0) / (l * l)) * sin(k)) * tan(k)) * ((1.0 + pow((k / t), 2.0)) - 1.0));
}
double code(double t, double l, double k) {
return (2.0 / ((sin(k) * (t * sin(k))) * (k / l))) / (k / (l / (1.0 / cos(k))));
}



Bits error versus t



Bits error versus l



Bits error versus k
Results
Initial program 47.8
Simplified40.7
Taylor expanded around inf 22.9
Simplified22.9
rmApplied associate-/l*_binary6422.1
Simplified22.1
rmApplied div-inv_binary6422.1
Applied times-frac_binary6417.6
Applied times-frac_binary647.5
Applied associate-/r*_binary647.2
Simplified4.0
rmApplied unpow2_binary644.0
Applied associate-*r*_binary642.5
Final simplification2.5
herbie shell --seed 2020260
(FPCore (t l k)
:name "Toniolo and Linder, Equation (10-)"
:precision binary64
(/ 2.0 (* (* (* (/ (pow t 3.0) (* l l)) (sin k)) (tan k)) (- (+ 1.0 (pow (/ k t) 2.0)) 1.0))))