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



Bits error versus x
Results
Initial program 0.0
rmApplied *-un-lft-identity0.0
Applied distribute-rgt-out0.0
Final simplification0.0
herbie shell --seed 2020155
(FPCore (x)
:name "Main:bigenough1 from B"
:precision binary64
(+ x (* x x)))