Base implementation of signed numbers and EGCD, with tests.

This commit is contained in:
2018-10-15 19:16:25 -07:00
parent d43f0bcd42
commit 89e2dfc6ef
164 changed files with 560116 additions and 67 deletions

27
src/signed/mod.rs Normal file
View File

@@ -0,0 +1,27 @@
#[macro_use]
mod add;
#[macro_use]
mod base;
#[macro_use]
mod compare;
#[macro_use]
mod conversion;
#[macro_use]
mod egcd;
#[macro_use]
mod modinv;
#[macro_use]
mod shift;
#[macro_use]
mod subtraction;
use std::cmp::{Ord,Ordering,PartialOrd};
use std::fmt;
use std::ops::{Add,AddAssign};
use std::ops::{Shl,ShlAssign,Shr,ShrAssign};
use std::ops::{Sub,SubAssign};
use unsigned::*;
pub use self::egcd::EGCD;
include!("invoc.rs");