Earlier quoted context omitted.
Thank you! Yeah, or at least give a warning.
Beautiful Web GUI, beautiful source code, "cargo install kalk_cli" && it works like a charm! Thanks for sharing this.
Show HN: Kalk, A calculator with math syntax, complex numbers
31–40 of 90 posts
Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#32Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#33This seems off: >> f(x) = x^2 >> f''(4) 0.9995297887
Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#34Can you support big numbers? When I input 3^4^5, it outputs infinity.
Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#35Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#36`√2` works but `√-1` doesn't, which surprised me a bit. I' expect unary `-` to bind tighter, but in this context it considers that it's a binary operator between `√` and `-1`. If you put parens it works of course.
Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#37For fun, try to run this: `2 + 2 * 10%` in all calculators you have access to: on you phone, on your desktop, in kalk. As they say, "the answer will surprise you" :)
Performing the calculation with Soulver did not surprise me (being what I calculated in my head ahead of time): 2 + 2 × 10% = 2.2 At the risk of admitting my ignorance, yet more interested in learning something new: should this answer (2.2) surprise me?
On MacOS the answer is 2.4
In kalk it's 2.002
On Windows it's 0.4 in simple calc, and 2 in programmer calc (and there's no % in engineering calc)
Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#38For fun, try to run this: `2 + 2 * 10%` in all calculators you have access to: on you phone, on your desktop, in kalk. As they say, "the answer will surprise you" :)
$ units
You have: 2 + 2 * 10%
Definition: 2.2
ITYM "the answer may surprise you", and in this case it did not.Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#39Re: Show HN: Kalk, A calculator with math syntax, complex numbers
#40Earlier quoted context omitted.
Performing the calculation with Soulver did not surprise me (being what I calculated in my head ahead of time): 2 + 2 × 10% = 2.2 At the risk of admitting my ignorance, yet more interested in learning something new: should this answer (2.2) surprise me?
Wolfram Alpha and iOS also give 2.2 On MacOS the answer is 2.4 In kalk it's 2.002 On Windows it's 0.4 in simple calc, and 2 in programmer calc (and there's no % in engineering calc)