\left(x \cdot y\right) \cdot y
y \cdot \left(x \cdot y\right)
(FPCore (x y) :precision binary64 (* (* x y) y))
(FPCore (x y) :precision binary64 (* y (* x y)))
double code(double x, double y) {
return (x * y) * y;
}
double code(double x, double y) {
return y * (x * y);
}



Bits error versus x



Bits error versus y
Results
Initial program 0.2
Final simplification0.2
herbie shell --seed 2020232
(FPCore (x y)
:name "Data.HyperLogLog.Config:hll from hyperloglog-0.3.4"
:precision binary64
(* (* x y) y))