DB48X-on-DM42
DB48X-on-DM42 copied to clipboard
Argument of complex numbers computed in radian, irrespective of angle mode
Discussed in https://github.com/c3d/DB48X-on-DM42/discussions/174
Originally posted by camillew July 23, 2023 Hello, I was trying to use complex numbers, and noticed that the ARG function (as well as the polar rendering) seems to always return a number in radians, irrespective of the angle mode.
In the same way, I see that the rendering of the polar mode changes (with the degree, rad, grad, npi suffixes), but the argument does not change.
However, the ATAN function seems to respect the angle mode.
In any case, than you for this nice project! Camille
@camillew Thanks. Will probably be fixed by https://github.com/c3d/DB48X-on-DM42/commit/1eae092e1d50288b439ebd12d5f8b1e8ae756e49
Yes, this is fixed with this change, thank you!