Gork@lemm.ee to Science Memes@mander.xyzEnglish · 2 年前Also P!=NPfiles.catbox.moeimagemessage-square27linkfedilinkarrow-up1487arrow-down114
arrow-up1473arrow-down1imageAlso P!=NPfiles.catbox.moeGork@lemm.ee to Science Memes@mander.xyzEnglish · 2 年前message-square27linkfedilink
minus-squaresazey@lemmy.worldlinkfedilinkEnglisharrow-up10·2 年前me too but you were brave enough to ask
minus-squareu/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.orglinkfedilinkEnglisharrow-up7·2 年前2 != 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 年前Or it’s a language where each number is a different instance, and != compares addresses.
minus-squareyozul@beehaw.orgdeleted by creatorlinkfedilinkEnglisharrow-up12·edit-28 个月前deleted by creator
minus-squareI_am_10_squirrels@beehaw.orglinkfedilinkEnglisharrow-up2·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.
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
deleted by creator
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