Go to file
Josh Stone d561e4b702 Merge pull request #262 from Xaeroxe23/master
Add clamp function
2017-02-09 14:17:14 -08:00
.travis Add new crate num-derive as an new replacement for num-macro 2016-09-28 13:33:13 +02:00
benches bigint: allow `Sub` to work in-place on the RHS 2016-07-08 17:34:12 -07:00
bigint Use the integer32 playground 2016-11-02 19:51:10 +01:00
complex complex: derive Eq 2016-12-05 23:11:40 -08:00
derive derive: bump to 0.1.39 2017-01-11 16:51:14 -08:00
doc Update repo and doc links 2015-11-12 18:40:13 -08:00
integer Use the integer32 playground 2016-11-02 19:51:10 +01:00
iter Use the integer32 playground 2016-11-02 19:51:10 +01:00
macros macros: bump to 0.1.37 2017-01-11 16:52:06 -08:00
rational rational: test_recip_fail: Correct should_panic syntax 2017-01-06 15:05:01 -05:00
src Made requested changes. 2017-02-07 13:02:32 -07:00
traits Improve documentation comments 2017-02-08 15:10:01 -07:00
.gitignore Update num-macros to Rust master 2015-05-14 10:19:47 -07:00
.rustup.sh Move .multirust.sh to .rustup.sh 2016-07-12 00:34:27 -07:00
.travis.yml .travis.yml: add a verbose build 2016-03-25 18:30:27 -07:00
Cargo.toml 0.1.36 bump for num, traits, macros, and the new derive 2016-09-29 23:31:23 -07: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 Makefile: add complex and iter 2016-03-25 17:50:51 -07: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;