|
7 years ago | |
---|---|---|
benches | 7 years ago | |
bigint | 7 years ago | |
ci | 7 years ago | |
complex | 7 years ago | |
derive | 7 years ago | |
doc | 9 years ago | |
integer | 7 years ago | |
iter | 7 years ago | |
macros | 7 years ago | |
rational | 7 years ago | |
src | 8 years ago | |
traits | 7 years ago | |
.gitignore | 9 years ago | |
.travis.yml | 7 years ago | |
Cargo.toml | 7 years ago | |
LICENSE-APACHE | 10 years ago | |
LICENSE-MIT | 10 years ago | |
README.md | 7 years ago | |
bors.toml | 7 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.