mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.4K
active users

@pikuma
I'm not sure if -3³ = -27. But it should be. Right?

@pikuma -3² es distinto a (-3)². -3² = -9 y (-3)² = 9

@pikuma What did they smoke when they decided that −3*2 was −6 but −3^2 was 9?

@waltertross @pikuma TBF -3^2 *is* -9

(-3)^2 is a completely different thing :D

@pikuma Genuinely asking: Is there something about the notation that would make this -9 instead of 9?

I know (-3)² = 9 and -(3²) = -9, but I'm not sure what would differentiate -3² as the latter and not the former :bunthinking:

@pikuma Aha! Interesting 👀
So it's not a 100% consensus thing (yet?), but majority and best practices prioritize the exponent in the order of operations 📝
Very good to know! Thank you!