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.
This commit is contained in:
Kian Paimaniandthiolliere authored and GitHub committed 2019-10-10 09:52:08 +02:00
1 parent 4da48dd9f5
commit 21fae718c4
5 files changed
+1014 -210

No files matched your search

+2 -2
View File
@@ -84,8 +84,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to equal spec_version. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 173,
impl_version: 173,
spec_version: 174,
impl_version: 174,
apis: RUNTIME_API_VERSIONS,
};