orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day agoFloating point arithmeticseviltoast.orgimagemessage-square44linkfedilinkarrow-up1736arrow-down15
arrow-up1731arrow-down1imageFloating point arithmeticseviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day agomessage-square44linkfedilink
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up13·1 day agoHaving the sign bit in front, makes them compare like sign-bit-integers and if they are compared/sorted like 2s-complement integers, the negatives are reversed but still come after the positives.
Having the sign bit in front, makes them compare like sign-bit-integers and if they are compared/sorted like 2s-complement integers, the negatives are reversed but still come after the positives.