\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r46962 = im;
double r46963 = re;
double r46964 = atan2(r46962, r46963);
return r46964;
}
double f(double re, double im) {
double r46965 = im;
double r46966 = re;
double r46967 = atan2(r46965, r46966);
return r46967;
}



Bits error versus re



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