\frac{\tan^{-1} x - x}{x}\frac{\tan^{-1} x - x}{x}double code(double x) {
return ((double) (((double) (((double) atan(x)) - x)) / x));
}
double code(double x) {
return ((double) (((double) (((double) atan(x)) - x)) / x));
}



Bits error versus x
Results
Initial program 15.1
Final simplification15.1
herbie shell --seed 2020152
(FPCore (x)
:name "(/ (- (atan x) x) x)"
:precision binary64
(/ (- (atan x) x) x))