![](https://programming.dev/pictrs/image/9fe0461d-89b7-4b64-a37b-91324e2ebad5.jpeg)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
1·
2 months ago-5**2 is apparently -25 because of the order of operations)
Which is correct
-5**2 is apparently -25 because of the order of operations)
Which is correct
there is no standard order of operations across languages
Yes there is. The rules of Maths are universal.
It’s an easy place for bugs to sneak in
But that’s because of programmers not checking the rules of Maths first.
Yeah, they’re doing an upgrade right now. Yes, it’s the Maths explanation - -25 is the correct answer.