Finish shifting out primitives, and add division/modulo.
This commit is contained in:
5
src/cryptonum/traits.rs
Normal file
5
src/cryptonum/traits.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
pub trait CryptoNum {
|
||||
fn divmod(&self, a: &Self, q: &mut Self, r: &mut Self);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user