


Bits error versus x.re



Bits error versus x.im



Bits error versus y.re



Bits error versus y.im
if (/ (* (* (cbrt (cos (fma (log (hypot x.im x.re)) y.im (* (atan2 x.im x.re) y.re)))) (cbrt (cos (fma (log (hypot x.im x.re)) y.im (* (atan2 x.im x.re) y.re))))) (cbrt 1)) (/ (pow (pow (exp y.im) (* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re)))) (cbrt (atan2 x.im x.re))) (pow (hypot x.im x.re) y.re))) < +inf.0Initial program 32.3
Applied simplify4.0
rmApplied add-cube-cbrt4.0
Applied unpow-prod-down4.0
if +inf.0 < (/ (* (* (cbrt (cos (fma (log (hypot x.im x.re)) y.im (* (atan2 x.im x.re) y.re)))) (cbrt (cos (fma (log (hypot x.im x.re)) y.im (* (atan2 x.im x.re) y.re))))) (cbrt 1)) (/ (pow (pow (exp y.im) (* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re)))) (cbrt (atan2 x.im x.re))) (pow (hypot x.im x.re) y.re))) Initial program 31.4
Applied simplify63.0
Taylor expanded around 0 33.5
Time bar (total: 43.3s)Debug logProfile
herbie shell --seed '#(1070578969 3140398606 632207097 462683394 1189254563 964980650)' +o rules:numerics
(FPCore (x.re x.im y.re y.im)
:name "powComplex, real part"
(* (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)))))