Added Quantity type

This commit is contained in:
2023-04-01 13:50:52 -07:00
parent 1181c5322f
commit a38f68cd84
8 changed files with 716 additions and 56 deletions

7
src/quantity/mod.rs Normal file
View File

@ -0,0 +1,7 @@
mod rationalq;
pub mod quantity;
pub use crate::quantity::quantity::Quantity;
const FLOAT_PRECISION: u32 = 2048;
const PRINT_LEN: usize = 4; // How many significant digits we will show in output