


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)))) < 4.4589135338309e-310Initial program 32.3
Taylor expanded around -inf 16.2
if 4.4589135338309e-310 < (* (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)))) < 2.0210919941077406e+265Initial program 0.5
rmApplied add-cube-cbrt0.5
Taylor expanded around inf 47.1
Applied simplify0.6
if 2.0210919941077406e+265 < (* (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 36.4
Taylor expanded around inf 27.4
Time bar (total: 1.3m)Debug logProfile
herbie shell --seed 2018166
(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)))))