Add new comment

Permalink

By using polish or reversed polish notation this problem just disappears. it really is just a problem of semantics / (mathematical) language; and by using such a notation the ambigity just goes. Here it is in RPN:
$ dc
6 2 / 1 2 + * p
9
6 2 1 2 + * / p
1

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.