5b2cb8df97
- Integer only needs to require Ord explicitly, and then PartialOrd, Eq, and PartialEq come transitively. - Generics on Integer can implicitly use all of those comparison traits. This should not be a breaking change, as it doesn't actually change any effective trait requirements -- only what's explicit for simplicity. |
||
---|---|---|
.travis | ||
benches | ||
doc | ||
num-macros | ||
src | ||
.gitignore | ||
.multirust.sh | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
README.md
num
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.
Usage
Add this to your Cargo.toml
:
[dependencies]
num = "0.1"
and this to your crate root:
extern crate num;