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



Bits error versus x
Results
Initial program 0.2
Final simplification0.2
herbie shell --seed 2020153
(FPCore (x)
:name "(/ (atan x) (tan x))"
:precision binary64
(/ (atan x) (tan x)))