\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 1.602726285194281 \cdot 10^{+155}:\\
\;\;\;\;2 \cdot \left(\frac{\cos k}{\sin k} \cdot \frac{\frac{\ell}{k \cdot t} \cdot \frac{\ell}{k}}{\sin k}\right)\\
\mathbf{else}:\\
\;\;\;\;2 \cdot \frac{\cos k \cdot \left(\frac{\ell}{k} \cdot \frac{\frac{\ell}{t}}{k}\right)}{\sin k \cdot \sin k}\\
\end{array}double f(double t, double l, double k) {
double r1460506 = 2.0;
double r1460507 = t;
double r1460508 = 3.0;
double r1460509 = pow(r1460507, r1460508);
double r1460510 = l;
double r1460511 = r1460510 * r1460510;
double r1460512 = r1460509 / r1460511;
double r1460513 = k;
double r1460514 = sin(r1460513);
double r1460515 = r1460512 * r1460514;
double r1460516 = tan(r1460513);
double r1460517 = r1460515 * r1460516;
double r1460518 = 1.0;
double r1460519 = r1460513 / r1460507;
double r1460520 = pow(r1460519, r1460506);
double r1460521 = r1460518 + r1460520;
double r1460522 = r1460521 - r1460518;
double r1460523 = r1460517 * r1460522;
double r1460524 = r1460506 / r1460523;
return r1460524;
}
double f(double t, double l, double k) {
double r1460525 = t;
double r1460526 = 1.602726285194281e+155;
bool r1460527 = r1460525 <= r1460526;
double r1460528 = 2.0;
double r1460529 = k;
double r1460530 = cos(r1460529);
double r1460531 = sin(r1460529);
double r1460532 = r1460530 / r1460531;
double r1460533 = l;
double r1460534 = r1460529 * r1460525;
double r1460535 = r1460533 / r1460534;
double r1460536 = r1460533 / r1460529;
double r1460537 = r1460535 * r1460536;
double r1460538 = r1460537 / r1460531;
double r1460539 = r1460532 * r1460538;
double r1460540 = r1460528 * r1460539;
double r1460541 = r1460533 / r1460525;
double r1460542 = r1460541 / r1460529;
double r1460543 = r1460536 * r1460542;
double r1460544 = r1460530 * r1460543;
double r1460545 = r1460531 * r1460531;
double r1460546 = r1460544 / r1460545;
double r1460547 = r1460528 * r1460546;
double r1460548 = r1460527 ? r1460540 : r1460547;
return r1460548;
}



Bits error versus t



Bits error versus l



Bits error versus k
Results
if t < 1.602726285194281e+155Initial program 46.6
Simplified31.1
Taylor expanded around inf 23.5
Simplified21.6
rmApplied times-frac14.9
rmApplied *-un-lft-identity14.9
Applied times-frac11.2
Applied associate-*r*7.8
Simplified7.8
rmApplied *-un-lft-identity7.8
Applied times-frac7.8
Applied associate-*r*7.1
Simplified5.0
if 1.602726285194281e+155 < t Initial program 54.8
Simplified32.1
Taylor expanded around inf 23.1
Simplified19.9
rmApplied times-frac12.5
rmApplied *-un-lft-identity12.5
Applied times-frac8.9
Applied associate-*r*8.7
Simplified8.7
rmApplied associate-*r/8.7
Final simplification5.5
herbie shell --seed 2019154
(FPCore (t l k)
:name "Toniolo and Linder, Equation (10-)"
(/ 2 (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (- (+ 1 (pow (/ k t) 2)) 1))))