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