\tan x - \tan y
\tan x - \tan y
double code(double x, double y) {
return ((double) (((double) tan(x)) - ((double) tan(y))));
}
double code(double x, double y) {
return ((double) (((double) tan(x)) - ((double) tan(y))));
}



Bits error versus x



Bits error versus y
Results
Initial program 0.1
Final simplification0.1
herbie shell --seed 2020153
(FPCore (x y)
:name "(- (tan x) (tan y))"
:precision binary64
(- (tan x) (tan y)))