6 stable releases
2.1.0 | Jul 13, 2024 |
---|---|
2.0.1 | Jul 2, 2024 |
2.0.0 | Jun 15, 2024 |
1.0.2 | Jun 8, 2024 |
1.0.1 | Jun 1, 2024 |
#550 in Math
475 downloads per month
39KB
932 lines
BIG NUM MATH
Library for computations on large numbers.
- Underdeveloped:
- No plan for new functions (goniometric, radix, …).
- Plan for optimizations (memory + speed up on some computations).
- Primitive simple functions only: addition+substraction, multiplication+division, relation operator, power.
Example Usage
use big_num_math::{pow, PlacesRow};
let row = PlacesRow::new_from_num(u128::MAX);
let pow = pow(&row, 500);
let number = pow.to_number();
assert!(number.starts_with("8312324609993336522"));
assert_eq!(19266, number.len());
lib.rs
:
Allows to compute on big numbers. No negative numbers support. Provides only some basic mathematical functions.