x + \frac{1}{3}
\left(0.3333333333333333 + x\right) + \left(\frac{0.3333333333333333}{x} + 1\right) \cdot 0
(FPCore (x) :precision binary64 (+ x (/ 1.0 3.0)))
(FPCore (x) :precision binary64 (+ (+ 0.3333333333333333 x) (* (+ (/ 0.3333333333333333 x) 1.0) 0.0)))
double code(double x) {
return x + (1.0 / 3.0);
}
double code(double x) {
return (0.3333333333333333 + x) + (((0.3333333333333333 / x) + 1.0) * 0.0);
}



Bits error versus x
Results
Initial program 0.0
Simplified0.0
Applied egg-rr0.0
Applied egg-rr0.0
Final simplification0.0
herbie shell --seed 2022127
(FPCore (x)
:name "Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, F"
:precision binary64
(+ x (/ 1.0 3.0)))