


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
Results
if (- (+ (* (log x.im) y.re) 1) (* (atan2 x.im x.re) y.im)) < 2.0688338092999982e+18Initial program 32.5
Taylor expanded around 0 20.7
Applied simplify24.3
Taylor expanded around inf 9.5
Applied simplify10.1
rmApplied pow-exp9.5
if 2.0688338092999982e+18 < (- (+ (* (log x.im) y.re) 1) (* (atan2 x.im x.re) y.im)) < 1.2385041004263696e+203Initial program 30.5
Taylor expanded around 0 0
Applied simplify6.2
Taylor expanded around 0 11.4
if 1.2385041004263696e+203 < (- (+ (* (log x.im) y.re) 1) (* (atan2 x.im x.re) y.im)) Initial program 32.6
Taylor expanded around 0 18.9
Applied simplify22.7
Taylor expanded around -inf 15.4
Applied simplify15.9
Time bar (total: 1.3m)Debug logProfile
herbie shell --seed 2018178
(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)))))