Toes♀@ani.social to 196@lemmy.blahaj.zone · 1 year agoGlitch in the matrixani.socialimagemessage-square491fedilinkarrow-up1413arrow-down10
arrow-up1413arrow-down1imageGlitch in the matrixani.socialToes♀@ani.social to 196@lemmy.blahaj.zone · 1 year agomessage-square491fedilink
minus-squareamtwon@lemmy.worldlinkfedilinkEnglisharrow-up12·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-up0·9 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.