\tan^{-1} \left(N + 1\right) - \tan^{-1} N\tan^{-1} \left(N + 1\right) - \tan^{-1} Ndouble code(double N) {
return ((double) (((double) atan(((double) (N + 1.0)))) - ((double) atan(N))));
}
double code(double N) {
return ((double) (((double) atan(((double) (N + 1.0)))) - ((double) atan(N))));
}



Bits error versus N
Results
Initial program 14.6
Final simplification14.6
herbie shell --seed 2020152
(FPCore (N)
:name "(- (atan (+ N 1)) (atan N))"
:precision binary64
(- (atan (+ N 1.0)) (atan N)))