


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
if x.re < 4.892073360187566e-310Initial program 31.9
Taylor expanded around 0 17.0
Taylor expanded around -inf 5.7
Simplified5.7
if 4.892073360187566e-310 < x.re Initial program 34.0
Taylor expanded around 0 21.3
Taylor expanded around inf 11.2
Final simplification8.6
herbie shell --seed 2020191
(FPCore (x.re x.im y.re y.im)
:name "powComplex, real part"
:precision binary64
(* (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)))))