|
8 years ago | |
---|---|---|
benches | 8 years ago | |
bigint | 8 years ago | |
ci | 8 years ago | |
complex | 8 years ago | |
derive | 8 years ago | |
doc | 9 years ago | |
integer | 8 years ago | |
iter | 8 years ago | |
macros | 8 years ago | |
rational | 8 years ago | |
src | 8 years ago | |
traits | 8 years ago | |
.gitignore | 9 years ago | |
.travis.yml | 8 years ago | |
Cargo.toml | 8 years ago | |
LICENSE-APACHE | 10 years ago | |
LICENSE-MIT | 10 years ago | |
README.md | 8 years ago |
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.
Add this to your Cargo.toml
:
[dependencies]
num = "0.1"
and this to your crate root:
extern crate num;
Most of the num
crates are tested for rustc 1.8 and greater.
The exceptions are num-derive
which requires at least rustc 1.15,
and the deprecated num-macros
which requires nightly rustc.