Content
@
https://ethereum.org
0 reply
0 recast
0 reaction
Alex the Entreprenerd
@entreprenerd
Musings on why devs keep shipping rounding error bugs
2 replies
2 recasts
25 reactions
xh3b4sd ↑
@xh3b4sd.eth
Does that refer to Solidity smart contracts?
1 reply
0 recast
1 reaction
Alex the Entreprenerd
@entreprenerd
Yes but it applies to all integer division
1 reply
0 recast
0 reaction
xh3b4sd ↑
@xh3b4sd.eth
I guess that is use case specific, because real world applications have acceptable precision thresholds. At some point it's just "good enough". I see accounting math to be critical in smart contracts for sure. Maybe there are fields in academia for which this is also relevant, like physics and astronomy. In any event, what is your recommendation to help address the issue other than comprehensive unit tests?
1 reply
0 recast
0 reaction