\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(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) \cdot \sqrt[3]{\left(\left(2 \cdot \log \left(\sqrt[3]{e^{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}}\right) + \log \left(\sqrt[3]{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 r18308 = a;
double r18309 = expm1(r18308);
double r18310 = sin(r18309);
double r18311 = expm1(r18310);
double r18312 = atan(r18308);
double r18313 = atan2(r18311, r18312);
double r18314 = fmod(r18313, r18308);
double r18315 = fabs(r18314);
return r18315;
}
double f(double a) {
double r18316 = a;
double r18317 = expm1(r18316);
double r18318 = sin(r18317);
double r18319 = expm1(r18318);
double r18320 = atan(r18316);
double r18321 = atan2(r18319, r18320);
double r18322 = exp(r18321);
double r18323 = log(r18322);
double r18324 = fmod(r18323, r18316);
double r18325 = cbrt(r18324);
double r18326 = r18325 * r18325;
double r18327 = 2.0;
double r18328 = cbrt(r18322);
double r18329 = log(r18328);
double r18330 = r18327 * r18329;
double r18331 = r18330 + r18329;
double r18332 = fmod(r18331, r18316);
double r18333 = cbrt(r18332);
double r18334 = r18326 * r18333;
double r18335 = fabs(r18334);
return r18335;
}



Bits error versus a
Initial program 33.7
rmApplied add-log-exp33.7
rmApplied add-cube-cbrt33.7
rmApplied add-cube-cbrt33.7
Applied log-prod33.7
Simplified33.7
Final simplification33.7
herbie shell --seed 2019318
(FPCore (a)
:name "Random Jason Timeout Test 006"
:precision binary64
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))