| Crates.io | num |
| lib.rs | num |
| version | 0.1.43 |
| created_at | 2014-11-11 05:37:31.772551+00 |
| updated_at | 2025-01-25 00:57:47.64245+00 |
| description | A collection of numeric types and traits for Rust, including bigint, complex, rational, range iterators, generic integers, and more! |
| homepage | https://github.com/rust-num/num |
| repository | https://github.com/rust-num/num |
| max_upload_size | |
| id | 9 |
| size | 27,596 |
A collection of numeric types and traits for Rust.
This includes new types for big integers, rationals, and complex numbers,
new traits for generic programming on numeric properties like Integer,
and generic range iterators.
num is a meta-crate, re-exporting items from these sub-crates:
There is also a proc-macro crate for deriving some numeric traits:
Add this to your Cargo.toml:
[dependencies]
num = "0.1"
and this to your crate root:
extern crate num;
Release notes are available in RELEASES.md.
The num crate is tested for rustc 1.19 and greater.