eva
eva copied to clipboard
Suggestion: Complex numbers
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 ln
would have to be rewritten to support complex numbers.
(-1_f64.ln()
returns 0
)
functions such as
ln
would have to be rewritten to support complex numbers.
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 :^)
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!
A lot of the lexing logic would have to be modified to accept complex inputs
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!