DB48X-on-DM42 icon indicating copy to clipboard operation
DB48X-on-DM42 copied to clipboard

Argument of complex numbers computed in radian, irrespective of angle mode

Open c3d opened this issue 2 years ago • 2 comments

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

c3d avatar Aug 01 '23 01:08 c3d

@camillew Thanks. Will probably be fixed by https://github.com/c3d/DB48X-on-DM42/commit/1eae092e1d50288b439ebd12d5f8b1e8ae756e49

c3d avatar Aug 01 '23 01:08 c3d

Yes, this is fixed with this change, thank you!

camillew avatar Aug 02 '23 00:08 camillew