\frac{x \cdot x}{x}x
double code(double x) {
return ((double) (((double) (x * x)) / x));
}
double code(double x) {
return x;
}



Bits error versus x
Results
Initial program 30.7
Simplified0
Final simplification0
herbie shell --seed 2020152
(FPCore (x)
:name "(/ (* x x) x)"
:precision binary64
(/ (* x x) x))