Toes♀@ani.social to 196@lemmy.blahaj.zone · 9 months agoGlitch in the matrixani.socialimagemessage-square575fedilinkarrow-up1418arrow-down10
arrow-up1418arrow-down1imageGlitch in the matrixani.socialToes♀@ani.social to 196@lemmy.blahaj.zone · 9 months agomessage-square575fedilink
minus-squareamtwon@lemmy.worldlinkfedilinkEnglisharrow-up13·9 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·5 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.