Sen descrición

bluss 686411f44e complex: Add tests for OpAssign %!s(int64=9) %!d(string=hai) anos
benches 388a3132b8 bigint: allow `Sub` to work in-place on the RHS %!s(int64=8) %!d(string=hai) anos
bigint ebc36b3e55 Merge #313 %!s(int64=7) %!d(string=hai) anos
ci 8b9cdaada2 Test and fix subcrates with --no-default-features %!s(int64=7) %!d(string=hai) anos
complex 686411f44e complex: Add tests for OpAssign %!s(int64=7) %!d(string=hai) anos
derive 73a2dfd647 Merge #314 %!s(int64=7) %!d(string=hai) anos
doc b4026b9fec Update repo and doc links %!s(int64=9) %!d(string=hai) anos
integer ef83e851e7 Add keywords and categories to subcrates too. %!s(int64=7) %!d(string=hai) anos
iter ef83e851e7 Add keywords and categories to subcrates too. %!s(int64=7) %!d(string=hai) anos
macros ef83e851e7 Add keywords and categories to subcrates too. %!s(int64=7) %!d(string=hai) anos
rational ef83e851e7 Add keywords and categories to subcrates too. %!s(int64=7) %!d(string=hai) anos
src f8dcec366b Made requested changes. %!s(int64=8) %!d(string=hai) anos
traits ef83e851e7 Add keywords and categories to subcrates too. %!s(int64=7) %!d(string=hai) anos
.gitignore 44679902bd Update num-macros to Rust master %!s(int64=10) %!d(string=hai) anos
.travis.yml 3299702e69 Whitelist branches for CI %!s(int64=7) %!d(string=hai) anos
Cargo.toml c87faf46a6 Tweak categories based on review. %!s(int64=7) %!d(string=hai) anos
LICENSE-APACHE 482f0e0b74 Initial seeding from rust repo %!s(int64=10) %!d(string=hai) anos
LICENSE-MIT 482f0e0b74 Initial seeding from rust repo %!s(int64=10) %!d(string=hai) anos
README.md ea45567f0c add missing '`' in README.md %!s(int64=8) %!d(string=hai) anos
bors.toml b181cae401 Enable bors-ng %!s(int64=7) %!d(string=hai) anos

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.