💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev to Programmer Humor@programming.devEnglish · 7 months agoFloating point Mathsmessage-squaremessage-square7fedilinkarrow-up168arrow-down12file-text
arrow-up166arrow-down1message-squareFloating point Maths💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev to Programmer Humor@programming.devEnglish · 7 months agomessage-square7fedilinkfile-text
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up8·7 months agoIt does. x-x == 0 is true unless x is NaN or infinity.
It does.
x-x == 0
is true unlessx
is NaN or infinity.