\frac{r \cdot \sin b}{\cos \left(a + b\right)}\frac{\sin b}{\cos a \cdot \cos b - \sqrt[3]{\left(\left(\sin a \cdot \sin b\right) \cdot \left(\sin a \cdot \sin b\right)\right) \cdot \left(\sin a \cdot \sin b\right)}} \cdot rdouble f(double r, double a, double b) {
double r614019 = r;
double r614020 = b;
double r614021 = sin(r614020);
double r614022 = r614019 * r614021;
double r614023 = a;
double r614024 = r614023 + r614020;
double r614025 = cos(r614024);
double r614026 = r614022 / r614025;
return r614026;
}
double f(double r, double a, double b) {
double r614027 = b;
double r614028 = sin(r614027);
double r614029 = a;
double r614030 = cos(r614029);
double r614031 = cos(r614027);
double r614032 = r614030 * r614031;
double r614033 = sin(r614029);
double r614034 = r614033 * r614028;
double r614035 = r614034 * r614034;
double r614036 = r614035 * r614034;
double r614037 = cbrt(r614036);
double r614038 = r614032 - r614037;
double r614039 = r614028 / r614038;
double r614040 = r;
double r614041 = r614039 * r614040;
return r614041;
}



Bits error versus r



Bits error versus a



Bits error versus b
Results
Initial program 15.1
rmApplied cos-sum0.3
rmApplied *-un-lft-identity0.3
Applied times-frac0.3
Simplified0.3
rmApplied add-cbrt-cube0.4
Applied add-cbrt-cube0.4
Applied cbrt-unprod0.4
Simplified0.4
Final simplification0.4
herbie shell --seed 2019139
(FPCore (r a b)
:name "r*sin(b)/cos(a+b), A"
(/ (* r (sin b)) (cos (+ a b))))