orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 11 days agoFloating point arithmeticseviltoast.orgimagemessage-square44fedilinkarrow-up1771arrow-down16
arrow-up1765arrow-down1imageFloating point arithmeticseviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 11 days agomessage-square44fedilink
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up13·11 days 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.