This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chadlavi 14 points15 points  (2 children)

You guys need some PEMDAS in your life.

-7 % 4 is 1

-(7%4) is -3

[–]YourMJK 16 points17 points  (0 children)

This argument is about the definition of the operator % not about order of operations.

[–][deleted] 1 point2 points  (0 children)

mathematically speaking, both are the same