osmosis-labs / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Apache License 2.0
14 stars 31 forks source link

fix: mul round up for negative values doesn't round up #467

Closed p0mvn closed 1 year ago

p0mvn commented 1 year ago

Closes: #XXX

What is the purpose of the change

Fix for MulRoundUp where it actually truncates at precision end for negative values.

p0mvn commented 1 year ago

This is correct