\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r78332 = im;
double r78333 = re;
double r78334 = atan2(r78332, r78333);
return r78334;
}
double f(double re, double im) {
double r78335 = im;
double r78336 = re;
double r78337 = atan2(r78335, r78336);
return r78337;
}



Bits error versus re



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