\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(\tan^{-1}_* \frac{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}{\tan^{-1} a}\right) \bmod a\right)} \cdot \sqrt[3]{\left(\left(\tan^{-1}_* \frac{\left(\sqrt[3]{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)} \cdot \sqrt[3]{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}\right) \cdot \sqrt[3]{\mathsf{expm1}\left(\sin \left(\mathsf{expm1}\left(a\right)\right)\right)}}{\tan^{-1} a}\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 r770897 = a;
double r770898 = expm1(r770897);
double r770899 = sin(r770898);
double r770900 = expm1(r770899);
double r770901 = atan(r770897);
double r770902 = atan2(r770900, r770901);
double r770903 = fmod(r770902, r770897);
double r770904 = fabs(r770903);
return r770904;
}
double f(double a) {
double r770905 = a;
double r770906 = expm1(r770905);
double r770907 = sin(r770906);
double r770908 = expm1(r770907);
double r770909 = atan(r770905);
double r770910 = atan2(r770908, r770909);
double r770911 = fmod(r770910, r770905);
double r770912 = cbrt(r770911);
double r770913 = cbrt(r770908);
double r770914 = r770913 * r770913;
double r770915 = r770914 * r770913;
double r770916 = atan2(r770915, r770909);
double r770917 = fmod(r770916, r770905);
double r770918 = cbrt(r770917);
double r770919 = r770912 * r770918;
double r770920 = r770919 * r770912;
double r770921 = fabs(r770920);
return r770921;
}



Bits error versus a
Initial program 33.4
rmApplied add-cube-cbrt33.5
rmApplied add-cube-cbrt33.5
Taylor expanded around 0 33.5
Taylor expanded around 0 33.4
Final simplification33.4
herbie shell --seed 2019179 +o rules:numerics
(FPCore (a)
:name "Random Jason Timeout Test 006"
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))