\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r40086 = im;
double r40087 = re;
double r40088 = atan2(r40086, r40087);
return r40088;
}
double f(double re, double im) {
double r40089 = im;
double r40090 = re;
double r40091 = atan2(r40089, r40090);
return r40091;
}



Bits error versus re



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