https://github.com/sdroege/rust-muldiv
Multiply & Divide trait for unsigned integers with overflow protection
https://github.com/sdroege/rust-muldiv
algorithm mathematics rust trait
Last synced: about 1 month ago
JSON representation
Multiply & Divide trait for unsigned integers with overflow protection
- Host: GitHub
- URL: https://github.com/sdroege/rust-muldiv
- Owner: sdroege
- License: mit
- Created: 2016-02-20T17:05:17.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T09:02:46.000Z (over 1 year ago)
- Last Synced: 2025-05-07T11:02:49.093Z (about 1 month ago)
- Topics: algorithm, mathematics, rust, trait
- Language: Rust
- Size: 53.7 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# rust-muldiv [](https://crates.io/crates/muldiv) [](https://github.com/sdroege/rust-muldiv/actions) [](https://docs.rs/muldiv)
Provides a trait for numeric types to perform combined multiplication and
division with overflow protection.## LICENSE
rust-muldiv is licensed under the MIT license ([LICENSE](LICENSE) or
http://opensource.org/licenses/MIT).## Contribution
Any kinds of contributions are welcome as a pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in rust-muldiv by you shall be licensed under the MIT license as above,
without any additional terms or conditions.