\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(\sqrt[3]{{\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)}^{3}}\right) \bmod a\right)} \cdot \sqrt[3]{\left(\left(\sqrt[3]{{\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)}^{3}}\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 r7529 = a;
double r7530 = expm1(r7529);
double r7531 = sin(r7530);
double r7532 = expm1(r7531);
double r7533 = atan(r7529);
double r7534 = atan2(r7532, r7533);
double r7535 = fmod(r7534, r7529);
double r7536 = fabs(r7535);
return r7536;
}
double f(double a) {
double r7537 = a;
double r7538 = expm1(r7537);
double r7539 = sin(r7538);
double r7540 = cbrt(r7539);
double r7541 = r7540 * r7540;
double r7542 = r7541 * r7540;
double r7543 = expm1(r7542);
double r7544 = atan(r7537);
double r7545 = atan2(r7543, r7544);
double r7546 = 3.0;
double r7547 = pow(r7545, r7546);
double r7548 = cbrt(r7547);
double r7549 = fmod(r7548, r7537);
double r7550 = cbrt(r7549);
double r7551 = r7550 * r7550;
double r7552 = expm1(r7539);
double r7553 = atan2(r7552, r7544);
double r7554 = fmod(r7553, r7537);
double r7555 = cbrt(r7554);
double r7556 = r7551 * r7555;
double r7557 = fabs(r7556);
return r7557;
}



Bits error versus a
Initial program 33.8
rmApplied add-cbrt-cube33.9
Simplified33.8
rmApplied add-cube-cbrt33.9
rmApplied add-cube-cbrt33.9
Taylor expanded around 0 33.8
Final simplification33.8
herbie shell --seed 2020003
(FPCore (a)
:name "Random Jason Timeout Test 006"
:precision binary64
(fabs (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))