Inductor@feddit.de to Programmer Humor@programming.dev · 1 year ago0.30000000000000004feddit.deimagemessage-square65fedilinkarrow-up1442arrow-down116
arrow-up1426arrow-down1image0.30000000000000004feddit.deInductor@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square65fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up6·1 year agoThe expression 0.1 + (0.2 + 0.3) and (0.1 + 0.2) + 0.3 evaluate to different results.
The expression
0.1 + (0.2 + 0.3)
and(0.1 + 0.2) + 0.3
evaluate to different results.