Finish shifting out primitives, and add division/modulo.

This commit is contained in:
2018-03-05 18:25:20 -10:00
parent 2cc8702f4d
commit a7fa5dd9f9
3 changed files with 497 additions and 185 deletions

5
src/cryptonum/traits.rs Normal file
View File

@@ -0,0 +1,5 @@
pub trait CryptoNum {
fn divmod(&self, a: &Self, q: &mut Self, r: &mut Self);
}