\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)}\begin{array}{l}
\mathbf{if}\;k \le -1.33481975672023252010467643903032149745 \cdot 10^{154} \lor \neg \left(k \le -1.35218524776890705644444846209239839645 \cdot 10^{-123} \lor \neg \left(k \le 1.094978693998942963552062400840003390623 \cdot 10^{-100} \lor \neg \left(k \le 1.570388734911729430952442810681471278398 \cdot 10^{163}\right)\right)\right):\\
\;\;\;\;\frac{\cos k}{\frac{\sin k}{\ell}} \cdot \frac{2 \cdot {\left(\frac{1}{{k}^{\left(\frac{2}{2}\right)} \cdot \left({k}^{\left(\frac{2}{2}\right)} \cdot {t}^{1}\right)}\right)}^{1}}{\frac{\sin k}{\ell}}\\
\mathbf{else}:\\
\;\;\;\;\frac{2 \cdot \left(\left(\left({\left(\frac{\sqrt{1}}{{k}^{2}}\right)}^{1} \cdot \left({\left(\frac{\sqrt{1}}{{t}^{1}}\right)}^{1} \cdot \frac{1}{\frac{\sin k}{\ell}}\right)\right) \cdot \cos k\right) \cdot \ell\right)}{\sin k}\\
\end{array}double f(double t, double l, double k) {
double r109710 = 2.0;
double r109711 = t;
double r109712 = 3.0;
double r109713 = pow(r109711, r109712);
double r109714 = l;
double r109715 = r109714 * r109714;
double r109716 = r109713 / r109715;
double r109717 = k;
double r109718 = sin(r109717);
double r109719 = r109716 * r109718;
double r109720 = tan(r109717);
double r109721 = r109719 * r109720;
double r109722 = 1.0;
double r109723 = r109717 / r109711;
double r109724 = pow(r109723, r109710);
double r109725 = r109722 + r109724;
double r109726 = r109725 - r109722;
double r109727 = r109721 * r109726;
double r109728 = r109710 / r109727;
return r109728;
}
double f(double t, double l, double k) {
double r109729 = k;
double r109730 = -1.3348197567202325e+154;
bool r109731 = r109729 <= r109730;
double r109732 = -1.352185247768907e-123;
bool r109733 = r109729 <= r109732;
double r109734 = 1.094978693998943e-100;
bool r109735 = r109729 <= r109734;
double r109736 = 1.5703887349117294e+163;
bool r109737 = r109729 <= r109736;
double r109738 = !r109737;
bool r109739 = r109735 || r109738;
double r109740 = !r109739;
bool r109741 = r109733 || r109740;
double r109742 = !r109741;
bool r109743 = r109731 || r109742;
double r109744 = cos(r109729);
double r109745 = sin(r109729);
double r109746 = l;
double r109747 = r109745 / r109746;
double r109748 = r109744 / r109747;
double r109749 = 2.0;
double r109750 = 1.0;
double r109751 = 2.0;
double r109752 = r109749 / r109751;
double r109753 = pow(r109729, r109752);
double r109754 = t;
double r109755 = 1.0;
double r109756 = pow(r109754, r109755);
double r109757 = r109753 * r109756;
double r109758 = r109753 * r109757;
double r109759 = r109750 / r109758;
double r109760 = pow(r109759, r109755);
double r109761 = r109749 * r109760;
double r109762 = r109761 / r109747;
double r109763 = r109748 * r109762;
double r109764 = sqrt(r109750);
double r109765 = pow(r109729, r109749);
double r109766 = r109764 / r109765;
double r109767 = pow(r109766, r109755);
double r109768 = r109764 / r109756;
double r109769 = pow(r109768, r109755);
double r109770 = r109750 / r109747;
double r109771 = r109769 * r109770;
double r109772 = r109767 * r109771;
double r109773 = r109772 * r109744;
double r109774 = r109773 * r109746;
double r109775 = r109749 * r109774;
double r109776 = r109775 / r109745;
double r109777 = r109743 ? r109763 : r109776;
return r109777;
}



Bits error versus t



Bits error versus l



Bits error versus k
Results
if k < -1.3348197567202325e+154 or -1.352185247768907e-123 < k < 1.094978693998943e-100 or 1.5703887349117294e+163 < k Initial program 43.1
Simplified38.9
Taylor expanded around inf 29.1
rmApplied unpow229.1
Applied associate-/r*29.1
Simplified27.9
rmApplied *-un-lft-identity27.9
Applied div-inv27.9
Applied *-un-lft-identity27.9
Applied times-frac27.9
Applied times-frac26.8
Applied associate-*r*25.0
Simplified25.0
rmApplied sqr-pow25.0
Applied associate-*l*15.1
if -1.3348197567202325e+154 < k < -1.352185247768907e-123 or 1.094978693998943e-100 < k < 1.5703887349117294e+163Initial program 52.5
Simplified41.2
Taylor expanded around inf 16.5
rmApplied unpow216.5
Applied associate-/r*16.5
Simplified15.6
rmApplied *-un-lft-identity15.6
Applied div-inv15.6
Applied *-un-lft-identity15.6
Applied times-frac15.5
Applied times-frac14.4
Applied associate-*r*7.9
Simplified7.9
rmApplied add-sqr-sqrt7.9
Applied times-frac7.7
Applied unpow-prod-down7.7
Applied associate-*l*3.7
Final simplification9.3
herbie shell --seed 2019294
(FPCore (t l k)
:name "Toniolo and Linder, Equation (10-)"
:precision binary64
(/ 2 (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (- (+ 1 (pow (/ k t) 2)) 1))))