\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r41152 = im;
double r41153 = re;
double r41154 = atan2(r41152, r41153);
return r41154;
}
double f(double re, double im) {
double r41155 = im;
double r41156 = re;
double r41157 = atan2(r41155, r41156);
return r41157;
}



Bits error versus re



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