



Bits error versus x.re




Bits error versus x.im
Results
| Original | 6.5 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 6.5
Applied simplify6.5
Taylor expanded around 0 6.5
rmApplied unpow26.5
Applied associate-*r*0.2
Time bar (total: 48.3s)Debug logProfile
herbie shell --seed 2018208 +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)))