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

Imaginary Numbers should be built in like Python #29

Open
7fe opened this issue Jan 22, 2021 · 0 comments
Open

Imaginary Numbers should be built in like Python #29

7fe opened this issue Jan 22, 2021 · 0 comments

Comments

@7fe
Copy link

7fe commented Jan 22, 2021

I propose we support Imaginary Numbers like Python. The other parts of the proposals are fine with me.

let n = 1j * 1j

https://stackoverflow.com/questions/8370637/complex-numbers-usage-in-python

you could even support the dot syntax

n.real;
n.imaginary;

Right now JS is rather ignored for computational software compared to let's say Python because it lacks proper imaginary number support(and fractions.)

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