\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 r1371516 = r;
double r1371517 = b;
double r1371518 = sin(r1371517);
double r1371519 = r1371516 * r1371518;
double r1371520 = a;
double r1371521 = r1371520 + r1371517;
double r1371522 = cos(r1371521);
double r1371523 = r1371519 / r1371522;
return r1371523;
}
double f(double r, double a, double b) {
double r1371524 = b;
double r1371525 = sin(r1371524);
double r1371526 = a;
double r1371527 = cos(r1371526);
double r1371528 = cos(r1371524);
double r1371529 = r1371527 * r1371528;
double r1371530 = sin(r1371526);
double r1371531 = r1371530 * r1371525;
double r1371532 = r1371531 * r1371531;
double r1371533 = r1371532 * r1371531;
double r1371534 = cbrt(r1371533);
double r1371535 = r1371529 - r1371534;
double r1371536 = r1371525 / r1371535;
double r1371537 = r;
double r1371538 = r1371536 * r1371537;
return r1371538;
}



Bits error versus r



Bits error versus a



Bits error versus b
Results
Initial program 15.0
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 2019120
(FPCore (r a b)
:name "r*sin(b)/cos(a+b), A"
(/ (* r (sin b)) (cos (+ a b))))