


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
if (/ (pow x.im y.re) (pow (exp y.im) (atan2 x.im x.re))) < 1.0Initial program 31.9
Taylor expanded around 0 16.6
Applied simplify17.1
Taylor expanded around inf 2.9
Applied simplify3.0
if 1.0 < (/ (pow x.im y.re) (pow (exp y.im) (atan2 x.im x.re))) < +inf.0Initial program 36.9
rmApplied add-log-exp36.9
if +inf.0 < (/ (pow x.im y.re) (pow (exp y.im) (atan2 x.im x.re))) Initial program 32.3
Taylor expanded around 0 24.7
Applied simplify33.1
Taylor expanded around -inf 19.7
Applied simplify20.7
rmApplied pow-exp19.7
Applied add-exp-log20.1
Applied pow-exp20.1
Applied div-exp14.6
Time bar (total: 1.7m)Debug logProfile
herbie shell --seed '#(1070960995 739739648 2531964651 3069671617 351857262 3877178482)'
(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)))))