Няма описание

Homu 51e95550fc Auto merge of #285 - sdroege:ratio-approx-from-float, r=cuviper преди 8 години
benches 388a3132b8 bigint: allow `Sub` to work in-place on the RHS преди 8 години
bigint d23e3f32b8 num-bigint-0.1.37 преди 8 години
ci 1606fe7206 Bump rustc to 1.8 and revamp all CI преди 8 години
complex fca95eaf42 num-complex-0.1.37 преди 8 години
derive 1a66ee9e80 Add licenses to subcrates преди 8 години
doc b4026b9fec Update repo and doc links преди 9 години
integer 6513a5618b num-integer-0.1.34 преди 8 години
iter 1a66ee9e80 Add licenses to subcrates преди 8 години
macros 1a66ee9e80 Add licenses to subcrates преди 8 години
rational f74753089b rational: Implement approximation from floats and FromPrimitive for various types преди 8 години
src f8dcec366b Made requested changes. преди 8 години
traits 2172a9368b impl One for Wrapping doesn't require Add преди 8 години
.gitignore 44679902bd Update num-macros to Rust master преди 10 години
.travis.yml 1606fe7206 Bump rustc to 1.8 and revamp all CI преди 8 години
Cargo.toml 66ce252494 Bump versions in the num collection преди 8 години
LICENSE-APACHE 482f0e0b74 Initial seeding from rust repo преди 10 години
LICENSE-MIT 482f0e0b74 Initial seeding from rust repo преди 10 години
README.md ea45567f0c add missing '`' in README.md преди 8 години

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.