\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 r725114 = r;
double r725115 = b;
double r725116 = sin(r725115);
double r725117 = r725114 * r725116;
double r725118 = a;
double r725119 = r725118 + r725115;
double r725120 = cos(r725119);
double r725121 = r725117 / r725120;
return r725121;
}
double f(double r, double a, double b) {
double r725122 = b;
double r725123 = sin(r725122);
double r725124 = a;
double r725125 = cos(r725124);
double r725126 = cos(r725122);
double r725127 = r725125 * r725126;
double r725128 = sin(r725124);
double r725129 = r725128 * r725123;
double r725130 = r725129 * r725129;
double r725131 = r725130 * r725129;
double r725132 = cbrt(r725131);
double r725133 = r725127 - r725132;
double r725134 = r725123 / r725133;
double r725135 = r;
double r725136 = r725134 * r725135;
return r725136;
}



Bits error versus r



Bits error versus a



Bits error versus b
Results
Initial program 15.1
rmApplied cos-sum0.4
rmApplied *-un-lft-identity0.4
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 2019129
(FPCore (r a b)
:name "r*sin(b)/cos(a+b), A"
(/ (* r (sin b)) (cos (+ a b))))