News for hackers. Stuff that matters.
Re:Insect: a fast, repl-style scientific calculator by azag0 on Monday March 20, 2017 @12:38PM (#13915545)
Would you expect a complex number as an output? I wouldn't, if someone didn't tell me that it supported complex numbers.
Re:Insect: a fast, repl-style scientific calculator by jhlgkhkhil on Monday March 20, 2017 @03:38PM (#13917021)
From a scientific calculator I would definitely expect complex numbers.
Re:Insect: a fast, repl-style scientific calculator by Grue3 on Monday March 20, 2017 @01:11PM (#13915846)
Well, Emacs Calc does (as well as pretty much everything else).
Re:Insect: a fast, repl-style scientific calculator by JadeNB on Tuesday March 21, 2017 @03:38PM (#13925469)
Beyond getting a complex number as output: which complex number? (For example, is `i` or `-i` the correct answer to `sqrt(-1)`? If that seems too easy, how about the correct answer to `sqrt(-i)`?) It would be interesting to see a calculator that handled multi-valued functions properly, but I think that would require some major UI (and possibly even theoretical) advances in order to degenerate gracefully to the single-valued case.