\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(\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)} \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(\log \left(\sqrt[3]{{\left({\left(e^{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}\right)}^{\left(\sqrt{3}\right)}\right)}^{\left(\sqrt{3}\right)}}\right)\right) \bmod a\right)}\right|double f(double a) {
double r9846 = a;
double r9847 = expm1(r9846);
double r9848 = sin(r9847);
double r9849 = expm1(r9848);
double r9850 = atan(r9846);
double r9851 = atan2(r9849, r9850);
double r9852 = fmod(r9851, r9846);
double r9853 = fabs(r9852);
return r9853;
}
double f(double a) {
double r9854 = a;
double r9855 = expm1(r9854);
double r9856 = sin(r9855);
double r9857 = expm1(r9856);
double r9858 = atan(r9854);
double r9859 = atan2(r9857, r9858);
double r9860 = exp(r9859);
double r9861 = 3.0;
double r9862 = pow(r9860, r9861);
double r9863 = cbrt(r9862);
double r9864 = log(r9863);
double r9865 = fmod(r9864, r9854);
double r9866 = cbrt(r9865);
double r9867 = r9866 * r9866;
double r9868 = sqrt(r9861);
double r9869 = pow(r9860, r9868);
double r9870 = pow(r9869, r9868);
double r9871 = cbrt(r9870);
double r9872 = log(r9871);
double r9873 = fmod(r9872, r9854);
double r9874 = cbrt(r9873);
double r9875 = r9867 * r9874;
double r9876 = fabs(r9875);
return r9876;
}



Bits error versus a
Initial program 33.4
rmApplied add-log-exp33.4
rmApplied add-cbrt-cube33.4
Simplified33.4
rmApplied add-cube-cbrt33.4
rmApplied add-sqr-sqrt33.4
Applied pow-unpow33.4
Final simplification33.4
herbie shell --seed 2020034
(FPCore (a)
:name "Random Jason Timeout Test 006"
:precision binary64
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))