\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}\;\ell \le -6.2909315229428358 \cdot 10^{147}:\\
\;\;\;\;2 \cdot \left(\left({\left(\frac{1}{{k}^{\left(\frac{2}{2}\right)} \cdot \left({k}^{\left(\frac{2}{2}\right)} \cdot {t}^{1}\right)}\right)}^{1} \cdot \frac{\cos k}{\frac{\sin k}{\ell}}\right) \cdot \frac{\ell}{\sin k}\right)\\
\mathbf{elif}\;\ell \le -1.85699208742649 \cdot 10^{-100}:\\
\;\;\;\;2 \cdot \left({\left(\frac{\sqrt{1}}{{k}^{\left(\frac{2}{2}\right)}}\right)}^{1} \cdot \left({\left(\frac{1}{{k}^{\left(\frac{2}{2}\right)} \cdot {t}^{1}}\right)}^{1} \cdot \frac{\cos k \cdot {\ell}^{2}}{{\left(\sin k\right)}^{2}}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;2 \cdot \left(\left({\left(\frac{1}{{k}^{\left(\frac{2}{2}\right)} \cdot \left({k}^{\left(\frac{2}{2}\right)} \cdot {t}^{1}\right)}\right)}^{1} \cdot \frac{1}{\frac{\sin k}{\ell}}\right) \cdot \frac{\frac{\cos k}{\frac{1}{\ell}}}{\sin k}\right)\\
\end{array}double f(double t, double l, double k) {
double r111715 = 2.0;
double r111716 = t;
double r111717 = 3.0;
double r111718 = pow(r111716, r111717);
double r111719 = l;
double r111720 = r111719 * r111719;
double r111721 = r111718 / r111720;
double r111722 = k;
double r111723 = sin(r111722);
double r111724 = r111721 * r111723;
double r111725 = tan(r111722);
double r111726 = r111724 * r111725;
double r111727 = 1.0;
double r111728 = r111722 / r111716;
double r111729 = pow(r111728, r111715);
double r111730 = r111727 + r111729;
double r111731 = r111730 - r111727;
double r111732 = r111726 * r111731;
double r111733 = r111715 / r111732;
return r111733;
}
double f(double t, double l, double k) {
double r111734 = l;
double r111735 = -6.290931522942836e+147;
bool r111736 = r111734 <= r111735;
double r111737 = 2.0;
double r111738 = 1.0;
double r111739 = k;
double r111740 = 2.0;
double r111741 = r111737 / r111740;
double r111742 = pow(r111739, r111741);
double r111743 = t;
double r111744 = 1.0;
double r111745 = pow(r111743, r111744);
double r111746 = r111742 * r111745;
double r111747 = r111742 * r111746;
double r111748 = r111738 / r111747;
double r111749 = pow(r111748, r111744);
double r111750 = cos(r111739);
double r111751 = sin(r111739);
double r111752 = r111751 / r111734;
double r111753 = r111750 / r111752;
double r111754 = r111749 * r111753;
double r111755 = r111734 / r111751;
double r111756 = r111754 * r111755;
double r111757 = r111737 * r111756;
double r111758 = -1.856992087426494e-100;
bool r111759 = r111734 <= r111758;
double r111760 = sqrt(r111738);
double r111761 = r111760 / r111742;
double r111762 = pow(r111761, r111744);
double r111763 = r111738 / r111746;
double r111764 = pow(r111763, r111744);
double r111765 = pow(r111734, r111740);
double r111766 = r111750 * r111765;
double r111767 = pow(r111751, r111740);
double r111768 = r111766 / r111767;
double r111769 = r111764 * r111768;
double r111770 = r111762 * r111769;
double r111771 = r111737 * r111770;
double r111772 = r111738 / r111752;
double r111773 = r111749 * r111772;
double r111774 = r111738 / r111734;
double r111775 = r111750 / r111774;
double r111776 = r111775 / r111751;
double r111777 = r111773 * r111776;
double r111778 = r111737 * r111777;
double r111779 = r111759 ? r111771 : r111778;
double r111780 = r111736 ? r111757 : r111779;
return r111780;
}



Bits error versus t



Bits error versus l



Bits error versus k
Results
if l < -6.290931522942836e+147Initial program 63.2
Simplified63.0
Taylor expanded around inf 62.7
rmApplied sqr-pow62.7
Applied associate-*l*62.1
rmApplied unpow262.1
Applied associate-/r*62.1
Simplified62.1
rmApplied *-un-lft-identity62.1
Applied associate-/r/62.1
Applied times-frac62.1
Applied associate-*r*37.7
Simplified37.7
if -6.290931522942836e+147 < l < -1.856992087426494e-100Initial program 44.9
Simplified36.5
Taylor expanded around inf 13.1
rmApplied sqr-pow13.1
Applied associate-*l*8.3
rmApplied add-sqr-sqrt8.3
Applied times-frac7.9
Applied unpow-prod-down7.9
Applied associate-*l*4.8
Simplified4.8
if -1.856992087426494e-100 < l Initial program 46.9
Simplified39.3
Taylor expanded around inf 19.8
rmApplied sqr-pow19.8
Applied associate-*l*18.3
rmApplied unpow218.3
Applied associate-/r*18.0
Simplified16.1
rmApplied *-un-lft-identity16.1
Applied div-inv16.1
Applied *-un-lft-identity16.1
Applied times-frac15.9
Applied times-frac14.1
Applied associate-*r*9.3
Simplified9.3
Final simplification10.8
herbie shell --seed 2020018
(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))))