\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\sin \left(e^{\log \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)}\right)double f(double a, double b) {
double r8214 = b;
double r8215 = atan2(r8214, r8214);
double r8216 = sqrt(r8215);
double r8217 = a;
double r8218 = r8214 - r8217;
double r8219 = pow(r8216, r8218);
double r8220 = sin(r8219);
return r8220;
}
double f(double a, double b) {
double r8221 = b;
double r8222 = atan2(r8221, r8221);
double r8223 = sqrt(r8222);
double r8224 = a;
double r8225 = r8221 - r8224;
double r8226 = pow(r8223, r8225);
double r8227 = log(r8226);
double r8228 = exp(r8227);
double r8229 = sin(r8228);
return r8229;
}



Bits error versus a



Bits error versus b
Results
Initial program 0.1
rmApplied add-exp-log0.1
Applied pow-exp0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020039 +o rules:numerics
(FPCore (a b)
:name "Random Jason Timeout Test 015"
:precision binary64
(sin (pow (sqrt (atan2 b b)) (- b a))))