Fully removed RUG dependency

This commit is contained in:
2023-09-03 14:36:00 -07:00
parent 38c982bb00
commit 2391606ae1
5 changed files with 216 additions and 106 deletions

View File

@ -1,9 +1,19 @@
const FLOAT_PRECISION: u32 = 1024;
//const FLOAT_PRECISION: u32 = 1024;
const PRINT_LEN: usize = 5; // How many significant digits we will show in output
pub(in self) mod rationalbase;
pub(in self) mod floatbase;
//mod f64base;
// Pick a float implementation.
// floatbase is high-precision, f64base is for testing.
//pub(in self) mod floatbase;
//pub use floatbase::FloatBase;
pub(in self) mod f64base;
pub use f64base::F64Base as FloatBase;
mod scalar;
pub use self::scalar::Scalar;