Aucune description

Homu ef08fe2f96 Auto merge of #286 - yoanlcq:missing-impls-for-wrapping, r=cuviper il y a 8 ans
benches 388a3132b8 bigint: allow `Sub` to work in-place on the RHS il y a 8 ans
bigint d23e3f32b8 num-bigint-0.1.37 il y a 8 ans
ci 1606fe7206 Bump rustc to 1.8 and revamp all CI il y a 8 ans
complex fca95eaf42 num-complex-0.1.37 il y a 8 ans
derive 1a66ee9e80 Add licenses to subcrates il y a 8 ans
doc b4026b9fec Update repo and doc links il y a 9 ans
integer 6513a5618b num-integer-0.1.34 il y a 8 ans
iter 1a66ee9e80 Add licenses to subcrates il y a 8 ans
macros 1a66ee9e80 Add licenses to subcrates il y a 8 ans
rational f74753089b rational: Implement approximation from floats and FromPrimitive for various types il y a 8 ans
src f8dcec366b Made requested changes. il y a 8 ans
traits 9d8c808db6 comment out wrapping_is_signed test to make Rust 1.8 happy il y a 8 ans
.gitignore 44679902bd Update num-macros to Rust master il y a 10 ans
.travis.yml 1606fe7206 Bump rustc to 1.8 and revamp all CI il y a 8 ans
Cargo.toml 66ce252494 Bump versions in the num collection il y a 8 ans
LICENSE-APACHE 482f0e0b74 Initial seeding from rust repo il y a 10 ans
LICENSE-MIT 482f0e0b74 Initial seeding from rust repo il y a 10 ans
README.md ea45567f0c add missing '`' in README.md il y a 8 ans

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.