\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r8571 = im;
double r8572 = re;
double r8573 = atan2(r8571, r8572);
return r8573;
}
double f(double re, double im) {
double r8574 = im;
double r8575 = re;
double r8576 = atan2(r8574, r8575);
return r8576;
}



Bits error versus re



Bits error versus im
Results
Initial program 0
Final simplification0
herbie shell --seed 2019310 +o rules:numerics
(FPCore (re im)
:name "math.arg on complex"
:precision binary64
(atan2 im re))