\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r42103 = im;
double r42104 = re;
double r42105 = atan2(r42103, r42104);
return r42105;
}
double f(double re, double im) {
double r42106 = im;
double r42107 = re;
double r42108 = atan2(r42106, r42107);
return r42108;
}



Bits error versus re



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