💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev to Programmer Humor@programming.devEnglish · 8 months agoFloating point Mathsmessage-squaremessage-square6fedilinkarrow-up166arrow-down12file-text
arrow-up164arrow-down1message-squareFloating point Maths💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev to Programmer Humor@programming.devEnglish · 8 months agomessage-square6fedilinkfile-text
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up7·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.