Allow "sqrt"

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

anonymous
Hi,

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> • 2 years and 9 months ago Link
anonymous
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> • 2 years and 9 months ago Link