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

Enhancement Feature: Simple Complex Number Handling #17

Open
amolgorithm opened this issue Nov 27, 2023 · 0 comments
Open

Enhancement Feature: Simple Complex Number Handling #17

amolgorithm opened this issue Nov 27, 2023 · 0 comments

Comments

@amolgorithm
Copy link

Noticed that, on this application, taking the square root of -1 resulted in NaN, as JavaScript would naturally evaluate it to.

Although most simple calculator applications do this, perhaps it would be a good idea to extend the calculator's abilities to operations with imaginary & complex numbers, or at least simple operations such as square root of negative numbers and arithmetic with complex numbers.

Of course, simple arithmetic with complex numbers would require an alternative functionality that differentiates them from real numbers, such as an "i" button.

This is effectively and efficiently possible using the math.js library.

issue3

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

1 participant