Inductor ( Inductor@feddit.de ) to Programmer Humor@programming.dev · 3 years ago0.30000000000000004feddit.deimagemessage-square30linkfedilinkarrow-up1284
arrow-up1284image0.30000000000000004feddit.deInductor ( Inductor@feddit.de ) to Programmer Humor@programming.dev · 3 years agomessage-square30linkfedilink
minus-squareSlotos ( Slotos@feddit.nl ) linkfedilinkarrow-up1·3 years agoThey are as incapable of handling one third of a dollar as binary positional notation is incapable of handling one fifth (0.2). It’s not really a float problem. It’s a positional notation one. Some perfectly rational numbers refuse to squeeze into that mold.
minus-squareszczuroarturo ( szczuroarturo@programming.dev ) linkfedilinkarrow-up1·3 years agoAlso decimal system is not exatcly that much better since you also cant write 1/3 in decimal
They are as incapable of handling one third of a dollar as binary positional notation is incapable of handling one fifth (0.2).
It’s not really a float problem. It’s a positional notation one. Some perfectly rational numbers refuse to squeeze into that mold.
Also decimal system is not exatcly that much better since you also cant write 1/3 in decimal