Inductor@feddit.de to Programmer Humor@programming.dev · 1 year ago0.30000000000000004feddit.deexternal-linkmessage-square54fedilinkarrow-up1435arrow-down115
arrow-up1420arrow-down1external-link0.30000000000000004feddit.deInductor@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square54fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up5·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.