Go to file
Josh Stone b73cfa57bb traits: use `cast` items before `int`
For some reason, rustc 1.0.0 can't find `PrimInt` if it's before `cast`,
but later versions are fine with this.  That may have been a compiler
bug that was fixed.  Switching the order seems to work everywhere.
2016-03-25 16:12:56 -07:00
.travis Extract rational 2016-03-11 01:06:37 +01:00
benches Expand bigint shl/shr benchmarking 2016-01-27 22:53:10 -08:00
bigint Fix subpackages metadata 2016-03-11 10:22:26 +01:00
complex Fix subpackages metadata 2016-03-11 10:22:26 +01:00
doc Update repo and doc links 2015-11-12 18:40:13 -08:00
integer Reapply #167 2016-03-11 10:24:10 +01:00
iter Fix subpackages metadata 2016-03-11 10:22:26 +01:00
macros Move num-macros to macros to fit new naming system 2016-03-11 01:06:05 +01:00
rational Fix subpackages metadata 2016-03-11 10:22:26 +01:00
src Remove leftovers 2016-03-25 12:40:34 +01:00
traits traits: use `cast` items before `int` 2016-03-25 16:12:56 -07:00
.gitignore Update num-macros to Rust master 2015-05-14 10:19:47 -07:00
.multirust.sh Add a simple multirust script for local "CI" 2015-12-21 12:26:32 -08:00
.travis.yml Extract rational 2016-03-11 01:06:37 +01:00
Cargo.toml Fix subpackages metadata 2016-03-11 10:22:26 +01: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
Makefile Remove unknown test flag 2016-03-25 12:53:34 +01:00
README.md Update intros to better reflect the breadth of num 2015-11-21 16:39:00 -08:00

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.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
num = "0.1"

and this to your crate root:

extern crate num;