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. |
||
---|---|---|
.. | ||
mango-v4 | ||
margin-trade |