Inductor@feddit.de to Programmer Humor@programming.dev · 1 year ago0.30000000000000004feddit.deimagemessage-square6fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1image0.30000000000000004feddit.deInductor@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square6fedilink
minus-squarenothacking@discuss.tchncs.delinkfedilinkarrow-up1·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.