Kaljurand/Grammars — Issue #3: Wrap negative numbers in parentheses
Author: Kaljurand
Created: 2011-12-09 09:49:47+00:00
State: open

Both Google and WolfraAlpha interpret:

-1^1 = -(1^1)
-1+1 = (-1) + 1

But we probably want

miinus X OP Y

to always stand for

(- X) OP Y