Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complex calculation in degrees is wrong #105

Open
vm0033 opened this issue Nov 21, 2023 · 1 comment
Open

complex calculation in degrees is wrong #105

vm0033 opened this issue Nov 21, 2023 · 1 comment

Comments

@vm0033
Copy link

vm0033 commented Nov 21, 2023

The angle unit set to degrees has no effect when doing complex calculation.

Example:
Trying to calculate e^(j×180) results in something that is not -1,
whereas e^(j×pi) = -1, which is correct.

v4.8.1

@vm0033 vm0033 changed the title complex calculation in degrees is inaccurate/wrong complex calculation in degrees is wrong Nov 21, 2023
@hanna-kn
Copy link
Contributor

The selected angle unit only affects trigonometric functions. To me it would seem odd if the default angle unit changed the calculation of complex exponentiation.

See for example https://math.stackexchange.com/questions/3078651/how-do-complex-number-exponents-actually-work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants