\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 r837473 = a;
double r837474 = expm1(r837473);
double r837475 = sin(r837474);
double r837476 = expm1(r837475);
double r837477 = atan(r837473);
double r837478 = atan2(r837476, r837477);
double r837479 = fmod(r837478, r837473);
double r837480 = fabs(r837479);
return r837480;
}
double f(double a) {
double r837481 = a;
double r837482 = expm1(r837481);
double r837483 = sin(r837482);
double r837484 = expm1(r837483);
double r837485 = atan(r837481);
double r837486 = atan2(r837484, r837485);
double r837487 = exp(r837486);
double r837488 = sqrt(r837487);
double r837489 = sqrt(r837488);
double r837490 = r837488 * r837489;
double r837491 = r837490 * r837489;
double r837492 = log(r837491);
double r837493 = fmod(r837492, r837481);
double r837494 = fabs(r837493);
return r837494;
}



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-*l*33.8
Final simplification33.8
herbie shell --seed 2019164 +o rules:numerics
(FPCore (a)
:name "Random Jason Timeout Test 006"
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))