\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r89862 = im;
double r89863 = re;
double r89864 = atan2(r89862, r89863);
return r89864;
}
double f(double re, double im) {
double r89865 = im;
double r89866 = re;
double r89867 = atan2(r89865, r89866);
return r89867;
}



Bits error versus re



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