\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}\;t \le -8.7667772761516746 \cdot 10^{-88}:\\
\;\;\;\;\frac{2}{\left(\left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\sqrt[3]{\ell} \cdot \sqrt[3]{\ell}} \cdot \left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\sqrt[3]{\ell}} \cdot \left(\left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\ell} \cdot \left(\sqrt[3]{\sin k} \cdot \sqrt[3]{\sin k}\right)\right) \cdot \sqrt[3]{\sin k}\right)\right)\right) \cdot \tan k\right) \cdot \left(\left(1 + {\left(\frac{k}{t}\right)}^{2}\right) + 1\right)}\\
\mathbf{elif}\;t \le 7.29738861073981 \cdot 10^{-137}:\\
\;\;\;\;\frac{2}{2 \cdot \left({\left(\frac{1}{{-1}^{3}}\right)}^{1} \cdot \frac{{\left(\sqrt[3]{-1}\right)}^{9} \cdot \left({t}^{3} \cdot {\left(\sin k\right)}^{2}\right)}{\cos k \cdot {\ell}^{2}}\right) + {\left(\frac{1}{{-1}^{3}}\right)}^{1} \cdot \frac{{\left(\sqrt[3]{-1}\right)}^{9} \cdot \left({\left(\sin k\right)}^{2} \cdot \left({k}^{2} \cdot t\right)\right)}{\cos k \cdot {\ell}^{2}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{2}{\left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\sqrt[3]{\ell} \cdot \sqrt[3]{\ell}} \cdot \left(\left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\sqrt[3]{\ell}} \cdot \left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\ell} \cdot \sin k\right)\right) \cdot \tan k\right)\right) \cdot \left(\left(1 + {\left(\frac{k}{t}\right)}^{2}\right) + 1\right)}\\
\end{array}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) {
double VAR;
if ((t <= -8.766777276151675e-88)) {
VAR = (2.0 / ((((pow(cbrt(t), 3.0) / (cbrt(l) * cbrt(l))) * ((pow(cbrt(t), 3.0) / cbrt(l)) * (((pow(cbrt(t), 3.0) / l) * (cbrt(sin(k)) * cbrt(sin(k)))) * cbrt(sin(k))))) * tan(k)) * ((1.0 + pow((k / t), 2.0)) + 1.0)));
} else {
double VAR_1;
if ((t <= 7.29738861073981e-137)) {
VAR_1 = (2.0 / ((2.0 * (pow((1.0 / pow(-1.0, 3.0)), 1.0) * ((pow(cbrt(-1.0), 9.0) * (pow(t, 3.0) * pow(sin(k), 2.0))) / (cos(k) * pow(l, 2.0))))) + (pow((1.0 / pow(-1.0, 3.0)), 1.0) * ((pow(cbrt(-1.0), 9.0) * (pow(sin(k), 2.0) * (pow(k, 2.0) * t))) / (cos(k) * pow(l, 2.0))))));
} else {
VAR_1 = (2.0 / (((pow(cbrt(t), 3.0) / (cbrt(l) * cbrt(l))) * (((pow(cbrt(t), 3.0) / cbrt(l)) * ((pow(cbrt(t), 3.0) / l) * sin(k))) * tan(k))) * ((1.0 + pow((k / t), 2.0)) + 1.0)));
}
VAR = VAR_1;
}
return VAR;
}



Bits error versus t



Bits error versus l



Bits error versus k
Results
if t < -8.766777276151675e-88Initial program 22.9
rmApplied add-cube-cbrt23.1
Applied unpow-prod-down23.1
Applied times-frac16.9
Applied associate-*l*14.7
rmApplied add-cube-cbrt14.7
Applied unpow-prod-down14.7
Applied times-frac9.8
rmApplied associate-*l*8.7
rmApplied add-cube-cbrt8.7
Applied associate-*r*8.7
if -8.766777276151675e-88 < t < 7.29738861073981e-137Initial program 62.0
rmApplied add-cube-cbrt62.0
Applied unpow-prod-down62.0
Applied times-frac55.5
Applied associate-*l*55.5
Taylor expanded around -inf 39.8
if 7.29738861073981e-137 < t Initial program 24.9
rmApplied add-cube-cbrt25.1
Applied unpow-prod-down25.1
Applied times-frac17.4
Applied associate-*l*15.4
rmApplied add-cube-cbrt15.4
Applied unpow-prod-down15.4
Applied times-frac11.2
rmApplied associate-*l*10.1
rmApplied associate-*l*8.3
Final simplification15.2
herbie shell --seed 2020078
(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))))