


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
Results
if (* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (- (* (atan2 x.im x.re) y.re) (* (log (/ -1 x.re)) y.im)))) < -3.117683150335641e-281Initial program 27.3
rmApplied add-cube-cbrt27.3
Applied associate-*l*27.3
rmApplied add-log-exp27.3
if -3.117683150335641e-281 < (* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (- (* (atan2 x.im x.re) y.re) (* (log (/ -1 x.re)) y.im)))) < 6.8659627219145345e-40Initial program 28.7
Taylor expanded around -inf 10.4
if 6.8659627219145345e-40 < (* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (- (* (atan2 x.im x.re) y.re) (* (log (/ -1 x.re)) y.im)))) Initial program 34.9
Taylor expanded around inf 27.7
Time bar (total: 1.3m)Debug logProfile
herbie shell --seed 2018198
(FPCore (x.re x.im y.re y.im)
:name "powComplex, imaginary part"
(* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))))