Content deleted Content added
m SatyrBot removing WP:Logic banner per project decision. |
add a question about whether an example demonstrating a sometimes confusion thinking of precedence of a prefix minus sign would be beneficial to add |
||
Line 5:
Is ''Common operator notation'' really a term in Computer Science? There's only 125 Google references, and almost all of those are to copies of this page. There is a commonality of operator notation among the computer languages descendent mostly from [[Fortran]], but this page rambles on for quite a while without really capturing the essence of the idea. (Sorry for being vague, but this article's vague approach to its topic gave me a vague impression of vagueness.) [[User:Tom Duff|Tom Duff]] 19:49, 23 August 2006 (UTC)
The example at the end of -3! hints at how the uniry minus binds later than the !. I wonder if an example such as
-2^2 (or -2**2, depending on what plain ASCII notation one wants to follow), along with some sort of authoratative reference, would be useful to add to the page.
I wonder this because the algebraic result of -4 is not necessarility obvious to people who read the notation (I know that I've seen arguments in web forums/newsgroups/mailing lists over whether this should be -(2*2) or (-2*-2). It seems like specifically noting the correct algebraic interpretation would be worthwhile in the context of operation precendence and notation.
|