Error when calculating square of negative numbers
When calculating the square of a negative number, the output should be postive because a negative number multiplied by a negative number. While doing my homework, I stumbled across an error while squaring -28. The output was -784, when it should have been 784. Doing -28*-28 shows the correct answer, while -28^2 does not. A screenshot of the error is provided. The issue was discovered on version 41.1, but i am going to test it on version 42. Ill reply to the thread based on what happens.
Edited by Arnav Gyanani