\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r84150 = im;
double r84151 = re;
double r84152 = atan2(r84150, r84151);
return r84152;
}
double f(double re, double im) {
double r84153 = im;
double r84154 = re;
double r84155 = atan2(r84153, r84154);
return r84155;
}



Bits error versus re



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