-
Notifications
You must be signed in to change notification settings - Fork 29
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
Suggestion: Complex numbers #1
Comments
complex numbers would really complete the calculator idea, but i will be giving this a lower priority, simply because i dont quite see complex numbers being used in everyday calculations, and functions such as ( |
You may not have to. Have you ever heard of nalgebra? |
wew thats a lot more detailed than i imagined! i will look into it an try implementing complex numbers. i hope it isint too hard to figure out :^) |
Why would you want to implement complex numbers yourself? The crate that I pointed you to already has it. You only need to use it. |
A lot of the lexing logic would have to be modified to accept complex inputs. currently alphabetical inputs only contribute to alphabets used in functions. this would have to be changed to detect iota etc. once again, i have only taken a glance at the library and its capabilities, ill get to work when i get some time on my hands! |
You don't have to accept complex inputs now. What I asked is to display complex output. |
You're being a bit pushy, this guy is developing the project in his own time out of his own free will and you're kind of coming across a bit aggressively. |
@Jackojc You think you know what others think? |
ahaha slow down a bit friendos! this thread is for discussions related to the program. do not make personal jabs, or instigate other users / contributors. that being said, i request @KSXGitHub to be more polite. Let all further discussion be constructive! |
ln(-1) = πi
sqrt(-4) = 2i
The text was updated successfully, but these errors were encountered: