\frac{\tan^{-1}_* \frac{im}{re}}{\log 10}\frac{1}{\left(\sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}} \cdot \sqrt[3]{\frac{\log 10}{\tan^{-1}_* \frac{im}{re}}}\right) \cdot \left(\sqrt[3]{\frac{\sqrt[3]{\log 10} \cdot \sqrt[3]{\log 10}}{1}} \cdot \sqrt[3]{\frac{\sqrt[3]{\log 10}}{\tan^{-1}_* \frac{im}{re}}}\right)}double f(double re, double im) {
double r76637 = im;
double r76638 = re;
double r76639 = atan2(r76637, r76638);
double r76640 = 10.0;
double r76641 = log(r76640);
double r76642 = r76639 / r76641;
return r76642;
}
double f(double re, double im) {
double r76643 = 1.0;
double r76644 = 10.0;
double r76645 = log(r76644);
double r76646 = im;
double r76647 = re;
double r76648 = atan2(r76646, r76647);
double r76649 = r76645 / r76648;
double r76650 = cbrt(r76649);
double r76651 = r76650 * r76650;
double r76652 = cbrt(r76645);
double r76653 = r76652 * r76652;
double r76654 = r76653 / r76643;
double r76655 = cbrt(r76654);
double r76656 = r76652 / r76648;
double r76657 = cbrt(r76656);
double r76658 = r76655 * r76657;
double r76659 = r76651 * r76658;
double r76660 = r76643 / r76659;
return r76660;
}



Bits error versus re



Bits error versus im
Results
Initial program 0.8
rmApplied clear-num1.0
rmApplied add-cube-cbrt0.8
rmApplied *-un-lft-identity0.8
Applied add-cube-cbrt0.9
Applied times-frac0.9
Applied cbrt-prod0.8
Final simplification0.8
herbie shell --seed 2020046 +o rules:numerics
(FPCore (re im)
:name "math.log10 on complex, imaginary part"
:precision binary64
(/ (atan2 im re) (log 10)))