Talk:Exponentiation order: Difference between revisions

Content added Content deleted
(→‎Functions: added a comment about POW.)
(→‎Functions: cleared up what I meant when replying to an implied double negative.)
Line 3: Line 3:
So it has to be an operator? A "pow" function is not allowed? --[[User:Mwn3d|Mwn3d]] ([[User talk:Mwn3d|talk]]) 19:00, 18 March 2014 (UTC)
So it has to be an operator? A "pow" function is not allowed? --[[User:Mwn3d|Mwn3d]] ([[User talk:Mwn3d|talk]]) 19:00, 18 March 2014 (UTC)


: No, not at all.   But a function has no misinterpretation of what order the exponentiation is in, as in   '''pow(x,y)'''.   Of course, you could write   '''pow(x, pow(y,z))'''   (or something similar, depending on you or your language interpret the operator) to show this task's intention, but there is no ambiguity in function calls.   Whereas,   '''5**3**2'''   is swimming with vagueness. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:09, 18 March 2014 (UTC)
: No, and then no.   Er, I mean, it doesn't ''have'' to be, and yes, '''POW''' is allowed if there isn't an operator for exponentiation.   I have no qualms about including the '''POW''' function in any case.   But a function has no misinterpretation of what order the exponentiation is in, as in   '''pow(x,y)'''.   Of course, you could write   '''pow(x, pow(y,z))'''   (or something similar, depending on you or your language interpret the operator) to show this task's intention, but there is no ambiguity in function calls.   Whereas,   '''5**3**2'''   is swimming with vagueness. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:09, 18 March 2014 (UTC)