511db72f8e
The identity a * b = -((-a) * b) does not hold for I80F48, probably it's rounding to -inf. This meant that withdrawing the full native token balance could fail because the magnitude of -position * price was bigger than position * price. |
||
---|---|---|
.. | ||
resources/test | ||
src | ||
tests | ||
Cargo.toml | ||
Xargo.toml |