\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(\log \left({\left(e^{\mathsf{log1p}\left(\mathsf{expm1}\left(\sqrt[3]{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}\right)\right) \cdot \sqrt[3]{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}}\right)}^{\left(\sqrt[3]{\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}}\right)}\right)\right) \bmod a\right)\right|double code(double a) {
return fabs(fmod(atan2(expm1(sin(expm1(a))), atan(a)), a));
}
double code(double a) {
return fabs(fmod(log(pow(exp((log1p(expm1(cbrt(atan2(expm1(sin(expm1(a))), atan(a))))) * cbrt(atan2(expm1(sin(expm1(a))), atan(a))))), cbrt(atan2(expm1(sin(expm1(a))), atan(a))))), a));
}



Bits error versus a
Results
Initial program 33.6
rmApplied add-log-exp33.6
rmApplied add-cube-cbrt33.7
Applied exp-prod33.7
rmApplied log1p-expm1-u33.7
Final simplification33.7
herbie shell --seed 2020078 +o rules:numerics
(FPCore (a)
:name "Random Jason Timeout Test 006"
:precision binary64
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))