Synthetixio / simulation

Agent-based model of the proposed stablecoin.
24 stars 18 forks source link

Floating point precision of values #13

Closed 0xdomrom closed 7 years ago

0xdomrom commented 7 years ago

There should be a system of finite precision on all floating point values implemented, currently the system could end up having some level of floating point error. This should be a realistic number, as trading currencies to 18 decimal places is a bit over the top, somewhere in the range of 8-10 would probably be more than good enough.

0xdomrom commented 7 years ago

Mostly solved in #23 new smaller issues to deal with problems arising from this approach #31