On Thursday, September 18, 2014 12:59:10 PM UTC-4, Steven G. Johnson wrote:
>
> Note that in Fortran, Python, Matlab, and Mathematica, the exponentiation 
> operator has higher precedence than unary -, similar to Julia.   -10^2 in 
> WolframAlpha (http://www.wolframalpha.com/input/?i=-10%5E2) gives 100, 
> and WolframAlpha tries pretty hard to do natural-language interpretation of 
> mathematical expressions.
>

Sorry, I mean that WolframAlpha gives -100.

I think the rationale here is that -10^2 should be read as ASCII for –10², 
and the latter is –100 in usual math notation as I understand it.

Reply via email to