Closed mipac closed 3 years ago
I have kfr::carg(kfr::complex(1,0)) == pi/2 and kfr::carg(kfr::complex(0,1)) == 0
in the code there is : return atan2(even(xx), odd(xx)); but shouldn't it be return atan2(odd(xx), even(xx));
ie atan2(imag, real)
regards
Thank you for reporting. It will be fixed in the next patch release.
Hi,
The issue has been fixed in master branch.
I have kfr::carg(kfr::complex(1,0)) == pi/2 and kfr::carg(kfr::complex(0,1)) == 0
in the code there is : return atan2(even(xx), odd(xx)); but shouldn't it be return atan2(odd(xx), even(xx));
ie atan2(imag, real)
regards