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



Bits error versus a
Results
Initial program 33.5
rmApplied add-cube-cbrt33.6
rmApplied add-cube-cbrt33.5
rmApplied add-cube-cbrt33.5
rmApplied add-cube-cbrt33.5
Final simplification33.5
herbie shell --seed 2020128
(FPCore (a)
:name "Random Jason Timeout Test 006"
:precision binary64
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))