\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 \leq -4.242279192446241 \cdot 10^{-161} \lor \neg \left(k \leq 3.0479605309600283 \cdot 10^{-227}\right):\\
\;\;\;\;\frac{2}{\left({\left(\sqrt[3]{t}\right)}^{3} \cdot \frac{{\left(\sqrt[3]{t}\right)}^{3}}{\ell}\right) \cdot \left(\left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\ell} \cdot \sin k\right) \cdot \left(\tan k \cdot \left(1 + \left(1 + {\left(\frac{k}{t}\right)}^{2}\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{2}{\left(\tan k \cdot \left(1 + \left(1 + {\left(\frac{k}{t}\right)}^{2}\right)\right)\right) \cdot \left(\left({\left(\sqrt[3]{t}\right)}^{3} \cdot \frac{{\left(\sqrt[3]{t}\right)}^{3}}{\ell}\right) \cdot \left(\sqrt[3]{\sin k} \cdot \left(\frac{{\left(\sqrt[3]{t}\right)}^{3}}{\ell} \cdot \left(\sqrt[3]{\sin k} \cdot \sqrt[3]{\sin k}\right)\right)\right)\right)}\\
\end{array}(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
(if (or (<= k -4.242279192446241e-161) (not (<= k 3.0479605309600283e-227)))
(/
2.0
(*
(* (pow (cbrt t) 3.0) (/ (pow (cbrt t) 3.0) l))
(*
(* (/ (pow (cbrt t) 3.0) l) (sin k))
(* (tan k) (+ 1.0 (+ 1.0 (pow (/ k t) 2.0)))))))
(/
2.0
(*
(* (tan k) (+ 1.0 (+ 1.0 (pow (/ k t) 2.0))))
(*
(* (pow (cbrt t) 3.0) (/ (pow (cbrt t) 3.0) l))
(*
(cbrt (sin k))
(* (/ (pow (cbrt t) 3.0) l) (* (cbrt (sin k)) (cbrt (sin k))))))))))double code(double t, double l, double k) {
return (2.0 / ((double) (((double) (((double) ((((double) pow(t, 3.0)) / ((double) (l * l))) * ((double) sin(k)))) * ((double) tan(k)))) * ((double) (((double) (1.0 + ((double) pow((k / t), 2.0)))) + 1.0)))));
}
double code(double t, double l, double k) {
double tmp;
if (((k <= -4.242279192446241e-161) || !(k <= 3.0479605309600283e-227))) {
tmp = (2.0 / ((double) (((double) (((double) pow(((double) cbrt(t)), 3.0)) * (((double) pow(((double) cbrt(t)), 3.0)) / l))) * ((double) (((double) ((((double) pow(((double) cbrt(t)), 3.0)) / l) * ((double) sin(k)))) * ((double) (((double) tan(k)) * ((double) (1.0 + ((double) (1.0 + ((double) pow((k / t), 2.0)))))))))))));
} else {
tmp = (2.0 / ((double) (((double) (((double) tan(k)) * ((double) (1.0 + ((double) (1.0 + ((double) pow((k / t), 2.0)))))))) * ((double) (((double) (((double) pow(((double) cbrt(t)), 3.0)) * (((double) pow(((double) cbrt(t)), 3.0)) / l))) * ((double) (((double) cbrt(((double) sin(k)))) * ((double) ((((double) pow(((double) cbrt(t)), 3.0)) / l) * ((double) (((double) cbrt(((double) sin(k)))) * ((double) cbrt(((double) sin(k)))))))))))))));
}
return tmp;
}



Bits error versus t



Bits error versus l



Bits error versus k
Results
if k < -4.2422791924462413e-161 or 3.0479605309600283e-227 < k Initial program Error: 31.7 bits
rmApplied add-cube-cbrtError: 31.9 bits
Applied unpow-prod-downError: 31.9 bits
Applied times-fracError: 24.1 bits
Applied associate-*l*Error: 23.0 bits
rmApplied *-un-lft-identityError: 23.0 bits
Applied unpow-prod-downError: 23.0 bits
Applied times-fracError: 17.5 bits
SimplifiedError: 17.5 bits
rmApplied associate-*l*Error: 17.2 bits
SimplifiedError: 17.2 bits
rmApplied associate-*l*Error: 15.4 bits
if -4.2422791924462413e-161 < k < 3.0479605309600283e-227Initial program Error: 40.9 bits
rmApplied add-cube-cbrtError: 41.0 bits
Applied unpow-prod-downError: 41.0 bits
Applied times-fracError: 37.2 bits
Applied associate-*l*Error: 28.5 bits
rmApplied *-un-lft-identityError: 28.5 bits
Applied unpow-prod-downError: 28.5 bits
Applied times-fracError: 22.4 bits
SimplifiedError: 22.4 bits
rmApplied associate-*l*Error: 22.4 bits
SimplifiedError: 22.4 bits
rmApplied add-cube-cbrtError: 22.4 bits
Applied associate-*r*Error: 22.4 bits
Final simplificationError: 16.2 bits
herbie shell --seed 2020205
(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))))