Ei kuvausta

Homu f809c79d9f Auto merge of #299 - dotdash:rational-fix, r=cuviper 8 vuotta sitten
benches 388a3132b8 bigint: allow `Sub` to work in-place on the RHS 8 vuotta sitten
bigint a6d4d6e67d bigint: bump to 0.1.38 8 vuotta sitten
ci d201882c61 Fix typo 8 vuotta sitten
complex 9a9765a1db complex: bump to 0.1.38 8 vuotta sitten
derive 1a66ee9e80 Add licenses to subcrates 8 vuotta sitten
doc b4026b9fec Update repo and doc links 9 vuotta sitten
integer 6513a5618b num-integer-0.1.34 8 vuotta sitten
iter 1a66ee9e80 Add licenses to subcrates 8 vuotta sitten
macros 1a66ee9e80 Add licenses to subcrates 8 vuotta sitten
rational 33ca084e85 Fix building without the num-bigint feature 8 vuotta sitten
src f8dcec366b Made requested changes. 8 vuotta sitten
traits ae438d3608 traits: bump to 0.1.38 8 vuotta sitten
.gitignore 44679902bd Update num-macros to Rust master 10 vuotta sitten
.travis.yml 1606fe7206 Bump rustc to 1.8 and revamp all CI 8 vuotta sitten
Cargo.toml 7bf9a6ccf2 num: bump to 0.1.38 8 vuotta sitten
LICENSE-APACHE 482f0e0b74 Initial seeding from rust repo 10 vuotta sitten
LICENSE-MIT 482f0e0b74 Initial seeding from rust repo 10 vuotta sitten
README.md ea45567f0c add missing '`' in README.md 8 vuotta sitten

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.