\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r81776 = im;
double r81777 = re;
double r81778 = atan2(r81776, r81777);
return r81778;
}
double f(double re, double im) {
double r81779 = im;
double r81780 = re;
double r81781 = atan2(r81779, r81780);
return r81781;
}



Bits error versus re



Bits error versus im
Results
Initial program 0
Final simplification0
herbie shell --seed 2019318
(FPCore (re im)
:name "math.log/1 on complex, imaginary part"
:precision binary64
(atan2 im re))