


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 (+ (* (log x.re) y.im) (* (atan2 x.im x.re) y.re)))) < -1.7116974408586503e-303 or -0.0 < (* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (+ (* (log x.re) y.im) (* (atan2 x.im x.re) y.re)))) < +inf.0Initial program 32.9
rmApplied add-cube-cbrt32.9
if -1.7116974408586503e-303 < (* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (+ (* (log x.re) y.im) (* (atan2 x.im x.re) y.re)))) < -0.0Initial program 34.2
Taylor expanded around inf 12.4
if +inf.0 < (* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (+ (* (log x.re) y.im) (* (atan2 x.im x.re) y.re)))) Initial program 30.4
Taylor expanded around -inf 19.7
Time bar (total: 3.7m)Debug logProfile
herbie shell --seed '#(1072743783 989954326 4239155542 3782239461 3602631542 1719177920)'
(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)))))