Allow "sqrt"

Log in to Vote
13 Votes • 2 Comments
Instead of typing "square route of 9", you should be able to type "sqrt 9".
Pure code.
• posted 3 years and 4 months ago • type: Goodie (Perl functions) Improvement


It is already possible to write sqrt(9).
You need `()` for all functions , like sqrt, cos, sin, tan, ln, ...

Maybe it would make sense to allow writing functions without `()` when writing simple functions with only one argument.
posted by <hidden> • 3 years and 4 months ago Link
Definitely. Instant answers are intended to be a nice surprise when you enter your search results, therefore it's vital that they are triggered by all of the most common search terms. Otherwise they're as good as unimplemented.
posted by <hidden> • 3 years and 4 months ago Link