



Bits error versus x.re




Bits error versus x.im
| Original | 7.2 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 7.2
rmApplied difference-of-squares7.2
Applied associate-*l*0.2
rmApplied fma-neg0.2
Final simplification0.2
Time bar (total: 53.5s)Debug logProfile
herbie shell --seed 2018249 +o rules:numerics
(FPCore (x.re x.im)
:name "math.cube on complex, real part"
:herbie-target
(+ (* (* x.re x.re) (- x.re x.im)) (* (* x.re x.im) (- x.re (* 3 x.im))))
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im)))