\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r85392 = im;
double r85393 = re;
double r85394 = atan2(r85392, r85393);
return r85394;
}
double f(double re, double im) {
double r85395 = im;
double r85396 = re;
double r85397 = atan2(r85395, r85396);
return r85397;
}



Bits error versus re



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