Toes♀@ani.social to 196@lemmy.blahaj.zone · 1 year agoGlitch in the matrixani.socialimagemessage-square575fedilinkarrow-up1421arrow-down11
arrow-up1420arrow-down1imageGlitch in the matrixani.socialToes♀@ani.social to 196@lemmy.blahaj.zone · 1 year agomessage-square575fedilink
minus-squareamtwon@lemmy.worldlinkfedilinkEnglisharrow-up13·1 year 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.