


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
Results
if (/ (pow (- x.re) y.re) (pow (exp y.im) (atan2 x.im x.re))) < 1.000000000041244Initial program 31.7
Taylor expanded around 0 14.3
Applied simplify15.0
Taylor expanded around -inf 0.4
Applied simplify0.4
if 1.000000000041244 < (/ (pow (- x.re) y.re) (pow (exp y.im) (atan2 x.im x.re))) Initial program 33.2
Taylor expanded around 0 23.9
Applied simplify31.4
rmApplied add-exp-log31.4
Applied pow-exp31.4
Applied prod-exp23.9
Applied simplify23.9
Time bar (total: 50.1s)Debug logProfile
herbie shell --seed 2018296
(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)))))