\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(\sqrt[3]{\left(\left(\log \left(e^{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}\right)\right) \bmod a\right)} \cdot \sqrt[3]{\left(\left(\log \left(\sqrt[3]{{\left(e^{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}\right)}^{3}}\right)\right) \bmod a\right)}\right) \cdot \sqrt[3]{\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 r7366 = a;
double r7367 = expm1(r7366);
double r7368 = sin(r7367);
double r7369 = expm1(r7368);
double r7370 = atan(r7366);
double r7371 = atan2(r7369, r7370);
double r7372 = fmod(r7371, r7366);
double r7373 = fabs(r7372);
return r7373;
}
double f(double a) {
double r7374 = a;
double r7375 = expm1(r7374);
double r7376 = sin(r7375);
double r7377 = expm1(r7376);
double r7378 = atan(r7374);
double r7379 = atan2(r7377, r7378);
double r7380 = exp(r7379);
double r7381 = log(r7380);
double r7382 = fmod(r7381, r7374);
double r7383 = cbrt(r7382);
double r7384 = 3.0;
double r7385 = pow(r7380, r7384);
double r7386 = cbrt(r7385);
double r7387 = log(r7386);
double r7388 = fmod(r7387, r7374);
double r7389 = cbrt(r7388);
double r7390 = r7383 * r7389;
double r7391 = fmod(r7379, r7374);
double r7392 = cbrt(r7391);
double r7393 = r7390 * r7392;
double r7394 = fabs(r7393);
return r7394;
}



Bits error versus a
Initial program 33.4
rmApplied add-log-exp33.4
rmApplied add-cube-cbrt33.4
Taylor expanded around 0 33.4
rmApplied add-cbrt-cube33.4
Simplified33.4
Final simplification33.4
herbie shell --seed 2020056
(FPCore (a)
:name "Random Jason Timeout Test 006"
:precision binary64
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))