Inductor@feddit.de to Programmer Humor@programming.dev · 1 year ago0.30000000000000004feddit.deimagemessage-square54fedilinkarrow-up1445arrow-down116
arrow-up1429arrow-down1image0.30000000000000004feddit.deInductor@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square54fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up7·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.