\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\sin \left(\log \left(e^{\mathsf{expm1}\left(\mathsf{log1p}\left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\right)}\right)\right)double f(double a, double b) {
double r20359 = b;
double r20360 = atan2(r20359, r20359);
double r20361 = sqrt(r20360);
double r20362 = a;
double r20363 = r20359 - r20362;
double r20364 = pow(r20361, r20363);
double r20365 = sin(r20364);
return r20365;
}
double f(double a, double b) {
double r20366 = b;
double r20367 = atan2(r20366, r20366);
double r20368 = sqrt(r20367);
double r20369 = a;
double r20370 = r20366 - r20369;
double r20371 = pow(r20368, r20370);
double r20372 = log1p(r20371);
double r20373 = expm1(r20372);
double r20374 = exp(r20373);
double r20375 = log(r20374);
double r20376 = sin(r20375);
return r20376;
}



Bits error versus a



Bits error versus b
Results
Initial program 0.1
rmApplied add-log-exp0.2
rmApplied expm1-log1p-u0.2
Final simplification0.2
herbie shell --seed 2019235 +o rules:numerics
(FPCore (a b)
:name "Random Jason Timeout Test 003"
:precision binary64
(sin (pow (sqrt (atan2 b b)) (- b a))))