


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
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)))) < 1.847591497334247e-250Initial program 31.0
Taylor expanded around -inf 15.7
if 1.847591497334247e-250 < (* (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)))) < +inf.0Initial program 29.6
Taylor expanded around -inf 30.4
Applied simplify30.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 (- (* (atan2 x.im x.re) y.re) (* (log (/ -1 x.re)) y.im)))) Initial program 34.1
Taylor expanded around inf 24.4
Time bar (total: 1.1m)Debug logProfile
herbie shell --seed '#(1071979731 1496239409 439705970 2863295848 982327776 189749553)'
(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)))))