Currently the math is using different math library on 1 place to another, we should standardize this to avoid precision issue in calculation.
my suggestion would be using :
https://github.com/paulrberg/prb-math
since it's using fixed point numbers and is intuitive enough and generally have good precision
Overview
Currently the math is using different math library on 1 place to another, we should standardize this to avoid precision issue in calculation.
my suggestion would be using : https://github.com/paulrberg/prb-math since it's using fixed point numbers and is intuitive enough and generally have good precision