\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r27249 = im;
double r27250 = re;
double r27251 = atan2(r27249, r27250);
return r27251;
}
double f(double re, double im) {
double r27252 = im;
double r27253 = re;
double r27254 = atan2(r27252, r27253);
return r27254;
}



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.arg on complex"
:precision binary64
(atan2 im re))