\tan^{-1}_* \frac{im}{re}\tan^{-1}_* \frac{im}{re}double f(double re, double im) {
double r90187 = im;
double r90188 = re;
double r90189 = atan2(r90187, r90188);
return r90189;
}
double f(double re, double im) {
double r90190 = im;
double r90191 = re;
double r90192 = atan2(r90190, r90191);
return r90192;
}



Bits error versus re



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