\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\sin \left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(2 \cdot \left(b - a\right)\right)}\right)double code(double a, double b) {
return sin(pow(sqrt(atan2(b, b)), (b - a)));
}
double code(double a, double b) {
return sin(pow(sqrt(sqrt(atan2(b, b))), (2.0 * (b - a))));
}



Bits error versus a



Bits error versus b
Results
Initial program 0.2
rmApplied add-sqr-sqrt0.2
Applied sqrt-prod0.2
Applied unpow-prod-down0.1
rmApplied pow-prod-up0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020092
(FPCore (a b)
:name "Random Jason Timeout Test 003"
:precision binary64
(sin (pow (sqrt (atan2 b b)) (- b a))))