Go to file
Josh Triplett c6163dac40 traits.rs: Implement Bounded for tuples of Bounded types
For example, the following will print (4294967295, 65535):

extern crate num;
use num::traits::Bounded;

fn main() {
    let t : (u32, u16) = Bounded::max_value();
    println!("{:?}", t);
}
2015-04-25 16:50:03 -07:00
benches Avoid and remove some unstable features. 2015-04-05 03:09:29 +08:00
src traits.rs: Implement Bounded for tuples of Bounded types 2015-04-25 16:50:03 -07:00
.gitignore Initial seeding from rust repo 2014-09-16 10:35:35 -07:00
.travis.yml Update travis config 2015-01-01 22:09:50 -08:00
Cargo.toml Use latest version of rand crate 2015-04-24 04:22:23 +10:00
LICENSE-APACHE Initial seeding from rust repo 2014-09-16 10:35:35 -07:00
LICENSE-MIT Initial seeding from rust repo 2014-09-16 10:35:35 -07:00
README.md Update documentation links 2014-12-23 09:54:56 -08:00

README.md

num

Arbitrary sized numeric types for Rust.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
num = "*"

and this to your crate root:

extern crate num;