r \cdot \frac{\sin b}{\cos \left(a + b\right)}\frac{r}{\cos b \cdot \cos a - \sin a \cdot \sin b} \cdot \frac{\sqrt[3]{1}}{\frac{1}{\sin b}}double f(double r, double a, double b) {
double r17739 = r;
double r17740 = b;
double r17741 = sin(r17740);
double r17742 = a;
double r17743 = r17742 + r17740;
double r17744 = cos(r17743);
double r17745 = r17741 / r17744;
double r17746 = r17739 * r17745;
return r17746;
}
double f(double r, double a, double b) {
double r17747 = r;
double r17748 = b;
double r17749 = cos(r17748);
double r17750 = a;
double r17751 = cos(r17750);
double r17752 = r17749 * r17751;
double r17753 = sin(r17750);
double r17754 = sin(r17748);
double r17755 = r17753 * r17754;
double r17756 = r17752 - r17755;
double r17757 = r17747 / r17756;
double r17758 = 1.0;
double r17759 = cbrt(r17758);
double r17760 = r17758 / r17754;
double r17761 = r17759 / r17760;
double r17762 = r17757 * r17761;
return r17762;
}



Bits error versus r



Bits error versus a



Bits error versus b
Results
Initial program 15.2
rmApplied cos-sum0.3
rmApplied add-cbrt-cube0.4
Applied add-cbrt-cube0.4
Applied cbrt-unprod0.4
Simplified0.4
rmApplied clear-num0.4
Simplified0.4
rmApplied div-inv0.4
Applied add-cube-cbrt0.4
Applied times-frac0.4
Applied associate-*r*0.5
Simplified0.4
Final simplification0.4
herbie shell --seed 2020064
(FPCore (r a b)
:name "r*sin(b)/cos(a+b), B"
:precision binary64
(* r (/ (sin b) (cos (+ a b)))))