standardform-0.1.7 has been yanked.
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. - Standardform form can be hashed as well using
hashfeature. - Intergate with nom using
nomfeature
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"] }
To enable hashing , enable hash feature:
[]
= { = "0.1.1" , = ["hash"] }
To enable intergation it with `nom` , enable `nom` feature:
```toml
[dependencies]
standardform = { version = "0.1.1" , features = ["nom"] }
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.