Nav apraksta

Josh Stone cc3be86781 rational: bump to 0.1.40 7 gadi atpakaļ
benches ed10d617b5 bigint: Add a modpow fallback for even modulus 7 gadi atpakaļ
bigint a203e9f9fc Merge #339 7 gadi atpakaļ
ci 8b9cdaada2 Test and fix subcrates with --no-default-features 7 gadi atpakaļ
complex 531c2a754f Fix documentation formatting with commonmark enabled 7 gadi atpakaļ
derive 59b8433a5e derive: bump to 0.1.41 7 gadi atpakaļ
doc b4026b9fec Update repo and doc links 9 gadi atpakaļ
integer 63aa15ae9a integer: bump to 0.1.35 7 gadi atpakaļ
iter fe55d1fb4e iter: bump to 0.1.34 7 gadi atpakaļ
macros 3adce78385 macros: bump to 0.1.37 7 gadi atpakaļ
rational cc3be86781 rational: bump to 0.1.40 7 gadi atpakaļ
src f8dcec366b Made requested changes. 8 gadi atpakaļ
traits 2f8f952d1d clean up unused macros 7 gadi atpakaļ
.gitignore 44679902bd Update num-macros to Rust master 10 gadi atpakaļ
.travis.yml 3299702e69 Whitelist branches for CI 7 gadi atpakaļ
Cargo.toml 97bc42854a Add CI badge 7 gadi atpakaļ
LICENSE-APACHE 482f0e0b74 Initial seeding from rust repo 10 gadi atpakaļ
LICENSE-MIT 482f0e0b74 Initial seeding from rust repo 10 gadi atpakaļ
README.md 8d64ff9708 Add CI badge 7 gadi atpakaļ
bors.toml b181cae401 Enable bors-ng 7 gadi atpakaļ

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.