I've made a major edit to some text you added to the Star Trek article. The text appears to refer to a magazine article? If that's correct, can you provide a complete cite to the article? Maury Markowitz (talk) 20:26, 25 February 2015 (UTC)Reply

Your edit to Order of operations... edit

... was reverted with a reason given of "unsourced addition". To be more thorough, the table you edited was specifically the precedence (or order of operations) in the C language. And in C, there is no operator for "exponentiation" as you suggested. To do this you use the library function pow(). See C mathematical functions. Dhrm77 (talk) 04:19, 26 June 2016 (UTC)Reply

Since the article title is "Order of Operations", and since students searching for more examples of how PEMDAS fits into the larger "OoO", might I suggest that exponentiation at least be mentioned as an example of a function on that line.

Remember, this page was not written for C programmers, it was written for people searching for examples of the expanded Order of Operations, and some people won't know for sure that exponentiation is a function.

I didn't know for sure (though I suspected it), and I've been a programmer for almost five decades. FORTRAN '69, COBOL '71, RPG '76, BASIC '77, and a few other languages, usually similar to BASIC, like TI calculator or HP calculator languages. Originally, I thought in FORTRAN, so at first when getting the TRS-80 Model One, I thought in FORTRAN and translated into BASIC, but soon started thinking in BASIC. The others are forgotten now, but I still play with BASIC for fun.

I don't remember the commands for exponentiation in the other languages, but as I mentioned, in my current BASICs, ^ represents exponentiation.

It just makes sense to me that since most students learn PEMDAS, it should be listed in longer lists. Another site that omitted it thought it was a good idea to add that list, so I will refer to their site as a source the next time I seek to include an example of the longer and more specific Order of Operations. GryByteman (talk) 23:20, 26 June 2016 (UTC) John M.S. Education, 1979 B.S. Management, 1974 Member, Triple Nine SocietyReply