Comments (1)
Thanks for posting this feature request, @thedavidmeister. I will move this issue to the discussions section because I keep issues strictly for settled todos and bug fixes.
PRBMath always rounds down, so issues of token dust should be ruled out. Still, I agree that rounding modes would be useful. It's just a question of finding the time to implement this; rounding modes would trigger quite a refactor in the tests.
from prb-math.
Related Issues (20)
- Check if I can DRY-ify the `UD60x18.wrap` conversions HOT 1
- Bring back multiple inputs for tests that expect reverts HOT 1
- Can't install v3 on forge HOT 10
- Add overload that accepts unsigned integers in the SD59x18 conversion functions HOT 1
- Redefined Constants if both `UD60x18` and `SD59x18` are imported HOT 3
- Annotate assembly blocks with `assembly ("memory-safe")` HOT 1
- Write invariant tests HOT 4
- Create a documentation website HOT 5
- Split tests by categories
- Add ASCII art HOT 1
- Member "ln" not found or not visible after argument-dependent lookup in type(SD59x18). HOT 1
- Upgrade to Solidity v0.8.19 and implement operators for UDVTs
- Move default case at the top in `log10` HOT 1
- Optimize `log10` with binary search
- Bug in `Common.exp2`: duplicated bitmasks
- Make `UD60x18-pow` work with values lower than 1e18
- Write fuzz tests
- Incorrect uEXP2_MAX_INPUT for UD60x18 and SD59x18 HOT 1
- Document UDVTs with NatSpec comments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prb-math.