\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r37460 = im;
double r37461 = re;
double r37462 = atan2(r37460, r37461);
return r37462;
}
double f(double re, double im) {
double r37463 = im;
double r37464 = re;
double r37465 = atan2(r37463, r37464);
return r37465;
}



Bits error versus re



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