nick@campfyre.nickwebster.dev to Programmer Humor@programming.devEnglish · 7 months agoComputer components cheat sheetcampfyre.nickwebster.devimagemessage-square50fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageComputer components cheat sheetcampfyre.nickwebster.devnick@campfyre.nickwebster.dev to Programmer Humor@programming.devEnglish · 7 months agomessage-square50fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up0·7 months agoIs the FPU a reference to the Pentium FDIV bug?? What a throwback.
minus-squaredan@upvote.aulinkfedilinkarrow-up0·edit-27 months agoThat’s just due to IEEE754 floating point. The CPU would do it the same way if you had a software-based implementation. 0.1 in binary doesn’t have a precise value. It’s recurring, the same way we can’t represent 1/3 (0.333333333…) precisely in decimal.
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up0·7 months agoIn other words, “computes numbers incorrectly”. You don’t have to overthink it on a meme that describes a hard drive as “remembers numbers loudly”.
Is the FPU a reference to the Pentium FDIV bug?? What a throwback.
0.1+0.2
That’s just due to IEEE754 floating point. The CPU would do it the same way if you had a software-based implementation.
0.1 in binary doesn’t have a precise value. It’s recurring, the same way we can’t represent 1/3 (0.333333333…) precisely in decimal.
In other words, “computes numbers incorrectly”.
You don’t have to overthink it on a meme that describes a hard drive as “remembers numbers loudly”.