Basic mathematics for unsigned integers ported over, tests pass.
This commit is contained in:
@@ -19,10 +19,14 @@ mod modexp;
|
||||
#[macro_use]
|
||||
mod modmul;
|
||||
#[macro_use]
|
||||
mod modsq;
|
||||
#[macro_use]
|
||||
mod mul;
|
||||
#[macro_use]
|
||||
mod shifts;
|
||||
#[macro_use]
|
||||
mod square;
|
||||
#[macro_use]
|
||||
mod sub;
|
||||
|
||||
use self::add::{addition,unsafe_addition};
|
||||
@@ -31,9 +35,12 @@ use self::cmp::compare;
|
||||
use self::codec::{Encoder,Decoder,raw_decoder};
|
||||
use self::div::{DivMod,get_number_size};
|
||||
use self::formatter::tochar;
|
||||
use self::modexp::ModExp;
|
||||
use self::modmul::ModMul;
|
||||
use self::modsq::ModSquare;
|
||||
use self::mul::multiply;
|
||||
use self::shifts::{shiftl,shiftr};
|
||||
use self::square::Square;
|
||||
use self::sub::subtract;
|
||||
use std::cmp::{Ordering,min};
|
||||
use std::fmt;
|
||||
@@ -57,10 +64,4 @@ macro_rules! base_impls
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! modsq_impls
|
||||
{
|
||||
($name: ident) => {
|
||||
}
|
||||
}
|
||||
|
||||
include!("invoc.rs");
|
||||
|
||||
Reference in New Issue
Block a user