\left(x + 1\right) - x
1
double code(double x) {
return ((double) (((double) (x + 1.0)) - x));
}
double code(double x) {
return 1.0;
}



Bits error versus x
Results
Initial program 29.5
Simplified0
Final simplification0
herbie shell --seed 2020153
(FPCore (x)
:name "(- (+ x 1) x)"
:precision binary64
(- (+ x 1.0) x))