\frac{\sin x - \tan x}{x}\frac{\sin x - \tan x}{x}double code(double x) {
return ((double) (((double) (((double) sin(x)) - ((double) tan(x)))) / x));
}
double code(double x) {
return ((double) (((double) (((double) sin(x)) - ((double) tan(x)))) / x));
}



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