\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r56931 = im;
double r56932 = re;
double r56933 = atan2(r56931, r56932);
return r56933;
}
double f(double re, double im) {
double r56934 = im;
double r56935 = re;
double r56936 = atan2(r56934, r56935);
return r56936;
}



Bits error versus re



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