No Description

Josh Stone 1606fe7206 Bump rustc to 1.8 and revamp all CI 8 years ago
benches 388a3132b8 bigint: allow `Sub` to work in-place on the RHS 8 years ago
bigint ff2a350e98 Use the integer32 playground 8 years ago
ci 1606fe7206 Bump rustc to 1.8 and revamp all CI 8 years ago
complex 5531031252 complex: derive Eq 8 years ago
derive 75372c0639 derive: bump to 0.1.39 8 years ago
doc b4026b9fec Update repo and doc links 9 years ago
integer ff2a350e98 Use the integer32 playground 8 years ago
iter ff2a350e98 Use the integer32 playground 8 years ago
macros 74f1e26f62 macros: bump to 0.1.37 8 years ago
rational fd44a86866 rational: test_recip_fail: Correct should_panic syntax 8 years ago
src f8dcec366b Made requested changes. 8 years ago
traits c78a48fd35 Improve documentation comments 8 years ago
.gitignore 44679902bd Update num-macros to Rust master 9 years ago
.travis.yml 1606fe7206 Bump rustc to 1.8 and revamp all CI 8 years ago
Cargo.toml f25a3bd51d 0.1.36 bump for num, traits, macros, and the new derive 8 years ago
LICENSE-APACHE 482f0e0b74 Initial seeding from rust repo 10 years ago
LICENSE-MIT 482f0e0b74 Initial seeding from rust repo 10 years ago
README.md 1606fe7206 Bump rustc to 1.8 and revamp all CI 8 years ago

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;

Compatibility

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.