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