


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
Results
if (/ (pow x.im y.re) (pow (exp y.im) (atan2 x.im x.re))) < 1.0156250000000266Initial program 31.6
Taylor expanded around 0 17.3
Applied simplify17.8
Taylor expanded around inf 3.2
Applied simplify3.3
if 1.0156250000000266 < (/ (pow x.im y.re) (pow (exp y.im) (atan2 x.im x.re))) Initial program 33.0
Taylor expanded around 0 22.2
Applied simplify29.9
rmApplied add-exp-log29.9
Applied pow-exp29.9
Applied prod-exp22.2
Applied simplify22.2
Time bar (total: 46.4s)Debug logProfile
herbie shell --seed 2018208
(FPCore (x.re x.im y.re y.im)
:name "powComplex, real part"
(* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))))