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