\left|\left(\left(\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}\right) \bmod a\right)\right|\left|\left(\left(\log \left(\left(\sqrt{e^{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}} \cdot \sqrt{\sqrt{e^{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}}}\right) \cdot \sqrt{\sqrt{e^{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}}}\right)\right) \bmod a\right)\right|double f(double a) {
double r1039503 = a;
double r1039504 = expm1(r1039503);
double r1039505 = sin(r1039504);
double r1039506 = expm1(r1039505);
double r1039507 = atan(r1039503);
double r1039508 = atan2(r1039506, r1039507);
double r1039509 = fmod(r1039508, r1039503);
double r1039510 = fabs(r1039509);
return r1039510;
}
double f(double a) {
double r1039511 = a;
double r1039512 = expm1(r1039511);
double r1039513 = sin(r1039512);
double r1039514 = expm1(r1039513);
double r1039515 = atan(r1039511);
double r1039516 = atan2(r1039514, r1039515);
double r1039517 = exp(r1039516);
double r1039518 = sqrt(r1039517);
double r1039519 = sqrt(r1039518);
double r1039520 = r1039518 * r1039519;
double r1039521 = r1039520 * r1039519;
double r1039522 = log(r1039521);
double r1039523 = fmod(r1039522, r1039511);
double r1039524 = fabs(r1039523);
return r1039524;
}



Bits error versus a
Initial program 33.7
rmApplied add-log-exp33.7
rmApplied add-sqr-sqrt33.7
rmApplied add-sqr-sqrt33.7
Applied sqrt-prod33.7
Applied associate-*r*33.8
Final simplification33.8
herbie shell --seed 2019164
(FPCore (a)
:name "Random Jason Timeout Test 006"
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))