💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev to Programmer Humor@programming.devEnglish · 9 months agoFloating point Mathsmessage-squaremessage-square7fedilinkarrow-up167arrow-down12file-text
arrow-up165arrow-down1message-squareFloating point Maths💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev to Programmer Humor@programming.devEnglish · 9 months agomessage-square7fedilinkfile-text
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up8·9 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.