\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 r6414 = a;
double r6415 = expm1(r6414);
double r6416 = sin(r6415);
double r6417 = expm1(r6416);
double r6418 = atan(r6414);
double r6419 = atan2(r6417, r6418);
double r6420 = fmod(r6419, r6414);
double r6421 = fabs(r6420);
return r6421;
}
double f(double a) {
double r6422 = a;
double r6423 = expm1(r6422);
double r6424 = sin(r6423);
double r6425 = expm1(r6424);
double r6426 = atan(r6422);
double r6427 = atan2(r6425, r6426);
double r6428 = fmod(r6427, r6422);
double r6429 = fabs(r6428);
return r6429;
}



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