proposal-extended-numeric-literals
proposal-extended-numeric-literals copied to clipboard
Imaginary Numbers should be built in like Python
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.)