\tan^{-1} y - \tan^{-1} x\tan^{-1} y - \tan^{-1} xdouble code(double y, double x) {
return ((double) (((double) atan(y)) - ((double) atan(x))));
}
double code(double y, double x) {
return ((double) (((double) atan(y)) - ((double) atan(x))));
}



Bits error versus y



Bits error versus x
Results
Initial program 7.3
Final simplification7.3
herbie shell --seed 2020152
(FPCore (y x)
:name "(- (atan y) (atan x))"
:precision binary64
(- (atan y) (atan x)))