standardform-rs
Effortlessly operate on numbers like 2e19 or 2*10^4 and more with this Rust implementation of standard form. Simplify, convert, and manipulate large numerical expressions with ease.
Features
- Create and manipulate numbers in standard form.
- Perform arithmetic operations on numbers with different exponents.
- Easily compare numbers in standard form.
- Clone and debug derive implementations for
StandardFormstruct. - Intergate it with
num_traitscrate as well.
Usage
Add this library to your Cargo.toml:
[]
= "0.1.1" # Version
To enable intergation it with num_traits , enable num feature:
[]
= { = "0.1.1" , = ["num"] }
Then
use StandardForm;
Please note that the examples provided here are simplified and serve as a starting point. For comprehensive documentation of the crate, please visit the crate documentation for a better understanding of the crate's functionalities and APIs.
Contributing
Contributions are welcome! If you find a bug or have an enhancement in mind, feel free to open an issue or submit a pull request.