Gork@lemm.ee to Science Memes@mander.xyzEnglish · 2 years agoAlso P!=NPfiles.catbox.moeexternal-linkmessage-square29linkfedilinkarrow-up1485arrow-down113
arrow-up1472arrow-down1external-linkAlso P!=NPfiles.catbox.moeGork@lemm.ee to Science Memes@mander.xyzEnglish · 2 years agomessage-square29linkfedilink
minus-squareOwl@mander.xyzlinkfedilinkEnglisharrow-up20arrow-down1·2 years agoDamn, I’m so dumb it hurts
minus-squaresazey@lemmy.worldlinkfedilinkEnglisharrow-up10·2 years agome too but you were brave enough to ask
minus-squareu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.orglinkfedilinkEnglisharrow-up7·2 years ago2 != 2 But what if it’s true? Perhaps the 2 on the left is integer and the right one is character.
minus-squarelemmyvore@feddit.nllinkfedilinkEnglisharrow-up6·2 years agoOr it’s a language where each number is a different instance, and != compares addresses.
minus-squareYozul@beehaw.orglinkfedilinkEnglisharrow-up11·2 years ago“!” in math is the factorial symbol, and 2 factorial is just 2 times 1, which is 2.
minus-squareI_am_10_squirrels@beehaw.orglinkfedilinkEnglisharrow-up2·2 years agoWhereas != is commonly used in programming as “not equal to”. So the mathematician see two factorial equals two, which is true. The programmer sees two is not equal to two, which is not true.
deleted by creator
deleted by creator
Damn, I’m so dumb it hurts
me too but you were brave enough to ask
2 != 2
But what if it’s true? Perhaps the 2 on the left is integer and the right one is character.
Or it’s a language where each number is a different instance, and
!=compares addresses.deleted by creator
deleted by creator
“!” in math is the factorial symbol, and 2 factorial is just 2 times 1, which is 2.
Whereas != is commonly used in programming as “not equal to”.
So the mathematician see two factorial equals two, which is true.
The programmer sees two is not equal to two, which is not true.
factorial