Multi-limb arithmetic for runtime (#3743)
* First working version of all operations.
* New and improved version of everything.
* Minor cleanup.
* Fix build
* Finalize nignum
* Some final works on refactors and tests.
* fix build
* Some review comments
* Bench, better try into and nits
* mutify the API
* rename to big_uint
* unmutify.
* Remove resize
* Apply suggestions from code review
* Update core/sr-primitives/src/sr_arithmetic.rs
Co-Authored-By:
thiolliere <gui.thiolliere@gmail.com>
* BEtter proof
* Fix panic doc.
* Bump.
parent
4da48dd9
Showing
- substrate/core/phragmen/src/lib.rs 6 additions, 6 deletionssubstrate/core/phragmen/src/lib.rs
- substrate/core/sr-primitives/Cargo.toml 1 addition, 0 deletionssubstrate/core/sr-primitives/Cargo.toml
- substrate/core/sr-primitives/src/lib.rs 8 additions, 2 deletionssubstrate/core/sr-primitives/src/lib.rs
- substrate/core/sr-primitives/src/sr_arithmetic.rs 998 additions, 201 deletionssubstrate/core/sr-primitives/src/sr_arithmetic.rs
- substrate/node/runtime/src/lib.rs 2 additions, 2 deletionssubstrate/node/runtime/src/lib.rs
This diff is collapsed.
Please register or sign in to comment