\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r49194 = im;
double r49195 = re;
double r49196 = atan2(r49194, r49195);
return r49196;
}
double f(double re, double im) {
double r49197 = im;
double r49198 = re;
double r49199 = atan2(r49197, r49198);
return r49199;
}



Bits error versus re



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