\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)\begin{array}{l}
\mathbf{if}\;\pi \cdot \ell \le -4.6380634062953026 \cdot 10^{154}:\\
\;\;\;\;\pi \cdot \ell - \frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{F} \cdot \frac{\sqrt[3]{1} \cdot \frac{\sin \left(\pi \cdot \ell\right)}{F}}{\cos \left(\left(\sqrt[3]{\pi} \cdot \sqrt[3]{\pi}\right) \cdot \left(\left(\sqrt[3]{\sqrt{\pi}} \cdot \sqrt[3]{\sqrt{\pi}}\right) \cdot \ell\right)\right)}\\
\mathbf{elif}\;\pi \cdot \ell \le 1.8434257583154768 \cdot 10^{144}:\\
\;\;\;\;\pi \cdot \ell - \frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{F} \cdot \frac{\sqrt[3]{1} \cdot \frac{\sin \left(\pi \cdot \ell\right)}{F}}{\mathsf{fma}\left(\frac{-1}{2}, \left(\pi \cdot \ell\right) \cdot \left(\pi \cdot \ell\right), \mathsf{fma}\left(\frac{1}{24}, {\pi}^{4} \cdot {\ell}^{4}, 1\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\left(\sqrt[3]{\pi \cdot \ell} \cdot \sqrt[3]{\pi \cdot \ell}\right) \cdot \sqrt[3]{\pi \cdot \ell}\right)\\
\end{array}double f(double F, double l) {
double r16442 = atan2(1.0, 0.0);
double r16443 = l;
double r16444 = r16442 * r16443;
double r16445 = 1.0;
double r16446 = F;
double r16447 = r16446 * r16446;
double r16448 = r16445 / r16447;
double r16449 = tan(r16444);
double r16450 = r16448 * r16449;
double r16451 = r16444 - r16450;
return r16451;
}
double f(double F, double l) {
double r16452 = atan2(1.0, 0.0);
double r16453 = l;
double r16454 = r16452 * r16453;
double r16455 = -4.6380634062953026e+154;
bool r16456 = r16454 <= r16455;
double r16457 = 1.0;
double r16458 = cbrt(r16457);
double r16459 = r16458 * r16458;
double r16460 = F;
double r16461 = r16459 / r16460;
double r16462 = sin(r16454);
double r16463 = r16462 / r16460;
double r16464 = r16458 * r16463;
double r16465 = cbrt(r16452);
double r16466 = r16465 * r16465;
double r16467 = sqrt(r16452);
double r16468 = cbrt(r16467);
double r16469 = r16468 * r16468;
double r16470 = r16469 * r16453;
double r16471 = r16466 * r16470;
double r16472 = cos(r16471);
double r16473 = r16464 / r16472;
double r16474 = r16461 * r16473;
double r16475 = r16454 - r16474;
double r16476 = 1.8434257583154768e+144;
bool r16477 = r16454 <= r16476;
double r16478 = -0.5;
double r16479 = r16454 * r16454;
double r16480 = 0.041666666666666664;
double r16481 = 4.0;
double r16482 = pow(r16452, r16481);
double r16483 = pow(r16453, r16481);
double r16484 = r16482 * r16483;
double r16485 = 1.0;
double r16486 = fma(r16480, r16484, r16485);
double r16487 = fma(r16478, r16479, r16486);
double r16488 = r16464 / r16487;
double r16489 = r16461 * r16488;
double r16490 = r16454 - r16489;
double r16491 = r16460 * r16460;
double r16492 = r16457 / r16491;
double r16493 = cbrt(r16454);
double r16494 = r16493 * r16493;
double r16495 = r16494 * r16493;
double r16496 = tan(r16495);
double r16497 = r16492 * r16496;
double r16498 = r16454 - r16497;
double r16499 = r16477 ? r16490 : r16498;
double r16500 = r16456 ? r16475 : r16499;
return r16500;
}



Bits error versus F



Bits error versus l
if (* PI l) < -4.6380634062953026e+154Initial program 21.4
rmApplied add-cube-cbrt21.4
Applied times-frac21.4
Applied associate-*l*21.4
rmApplied tan-quot21.4
Applied associate-*r/21.4
Simplified21.4
rmApplied add-cube-cbrt21.4
Applied associate-*l*21.4
rmApplied add-sqr-sqrt21.4
Applied cbrt-prod21.4
if -4.6380634062953026e+154 < (* PI l) < 1.8434257583154768e+144Initial program 14.8
rmApplied add-cube-cbrt14.8
Applied times-frac14.8
Applied associate-*l*9.0
rmApplied tan-quot9.0
Applied associate-*r/9.0
Simplified9.0
Taylor expanded around 0 3.7
Simplified3.7
if 1.8434257583154768e+144 < (* PI l) Initial program 21.6
rmApplied add-cube-cbrt21.6
Final simplification8.7
herbie shell --seed 2020046 +o rules:numerics
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
:precision binary64
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))