\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(\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}\right) \bmod a\right)\right|double f(double a) {
double r5043 = a;
double r5044 = expm1(r5043);
double r5045 = sin(r5044);
double r5046 = expm1(r5045);
double r5047 = atan(r5043);
double r5048 = atan2(r5046, r5047);
double r5049 = fmod(r5048, r5043);
double r5050 = fabs(r5049);
return r5050;
}
double f(double a) {
double r5051 = a;
double r5052 = expm1(r5051);
double r5053 = sin(r5052);
double r5054 = expm1(r5053);
double r5055 = atan(r5051);
double r5056 = atan2(r5054, r5055);
double r5057 = fmod(r5056, r5051);
double r5058 = fabs(r5057);
return r5058;
}



Bits error versus a
Initial program 33.6
Final simplification33.6
herbie shell --seed 2020047
(FPCore (a)
:name "Random Jason Timeout Test 006"
:precision binary64
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))