


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.0000006241329793Initial program 32.4
Taylor expanded around 0 17.5
Applied simplify17.7
Taylor expanded around -inf 2.6
Applied simplify2.7
if 1.0000006241329793 < (/ (pow (- x.im) y.re) (pow (exp y.im) (atan2 x.im x.re))) Initial program 33.2
Taylor expanded around 0 22.5
Applied simplify30.3
rmApplied add-exp-log30.3
Applied pow-exp30.3
Applied prod-exp22.5
Applied simplify22.5
Time bar (total: 53.9s)Debug logProfile
herbie shell --seed 2018199
(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)))))