



Bits error versus x.re




Bits error versus x.im
Results
| Original | 6.7 |
|---|---|
| Target | 0.3 |
| Herbie | 0.2 |
Initial program 6.7
Initial simplification6.6
rmApplied associate-*l*6.6
Taylor expanded around inf 6.6
rmApplied unpow26.6
Applied associate-*r*0.2
rmApplied associate-*r*0.2
Final simplification0.2
Time bar (total: 10.8s)Debug logProfile
| Baseline | Herbie | Oracle | Span | % | |
|---|---|---|---|---|---|
| Regimes | 0.2 | 0.2 | 0.0 | 0.1 | 0% |
herbie shell --seed 2018296 +o rules:numerics
(FPCore (x.re x.im)
:name "math.cube on complex, imaginary part"
:herbie-target
(+ (* (* x.re x.im) (* 2 x.re)) (* (* x.im (- x.re x.im)) (+ x.re x.im)))
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re)))