



Bits error versus x.re




Bits error versus x.im
| Original | 6.4 |
|---|---|
| Target | 0.2 |
| Herbie | 6.3 |
Initial program 6.4
Initial simplification6.4
Taylor expanded around inf 6.3
Simplified6.3
Final simplification6.3
Time bar (total: 17.5s)Debug logProfile
herbie shell --seed 2018257 +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)))