Wrong graph of the function f(x)=-1^x
The function in question is $f(x)=-1^x$ and the plot example is from Wolfram Mathematica. The graph is supposed to show a zig-zag otherwise known as the triangle waveform. This problem happened on Microsoft Mathematics, Desmos online graphing calculator, another graphing calculator online, everywhere except Microsoft Excel so far.
Wolfram Language code for the graph linked is simply: Plot[-1^x, {x, -100, 100}]
What you wrote according to order of operations is $-1^x=-1$. You meant $(-1)^x$ probably. See:
http://m.wolframalpha.com/input/?i=%28-1%29%5Ex&x=0&y=0