Toes♀@ani.social to 196@lemmy.blahaj.zone · 11 months agoGlitch in the matrixani.socialimagemessage-square349fedilinkarrow-up111arrow-down10
arrow-up111arrow-down1imageGlitch in the matrixani.socialToes♀@ani.social to 196@lemmy.blahaj.zone · 11 months agomessage-square349fedilink
minus-squareamtwon@lemmy.worldlinkfedilinkEnglisharrow-up0·11 months agonot to be That Guy, but the phone is actually correct… multiplication and division have the same precedence, so 8 / 2 * 4 should give the same result as 8 * 4 / 2, ie 16
minus-square💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.devlinkfedilinkEnglisharrow-up2·8 months ago but the phone is actually correct No, it’s actually wrong. 8 / 2 * 4 It’s 8/(2x4). You can’t remove brackets unless there is only 1 term left inside.
not to be That Guy, but the phone is actually correct… multiplication and division have the same precedence, so
8 / 2 * 4
should give the same result as8 * 4 / 2
, ie 16No, it’s actually wrong.
It’s 8/(2x4). You can’t remove brackets unless there is only 1 term left inside.