Sen descrición

bors[bot] f172ef3a6b Merge #350 %!s(int64=7) %!d(string=hai) anos
benches ed10d617b5 bigint: Add a modpow fallback for even modulus %!s(int64=7) %!d(string=hai) anos
bigint 56a029b20f Avoid large intermediate product in LCM %!s(int64=7) %!d(string=hai) anos
ci d90ae0ae8b Remove num-macros %!s(int64=7) %!d(string=hai) anos
complex 18b48f335e complex: bump to 0.1.41 %!s(int64=7) %!d(string=hai) anos
derive 59b8433a5e derive: bump to 0.1.41 %!s(int64=7) %!d(string=hai) anos
doc b4026b9fec Update repo and doc links %!s(int64=9) %!d(string=hai) anos
integer 63aa15ae9a integer: bump to 0.1.35 %!s(int64=7) %!d(string=hai) anos
iter fe55d1fb4e iter: bump to 0.1.34 %!s(int64=7) %!d(string=hai) anos
rational cc3be86781 rational: bump to 0.1.40 %!s(int64=7) %!d(string=hai) anos
src f8dcec366b Made requested changes. %!s(int64=8) %!d(string=hai) anos
traits 0e1c4c8b65 traits: bump to 0.1.41 %!s(int64=7) %!d(string=hai) anos
.gitignore 44679902bd Update num-macros to Rust master %!s(int64=10) %!d(string=hai) anos
.travis.yml d354559365 Downgrade libc for Rust 1.8 CI %!s(int64=7) %!d(string=hai) anos
Cargo.toml c24f76781b num: bump to 0.1.41 %!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 d90ae0ae8b Remove num-macros %!s(int64=7) %!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 exception is num-derive which requires at least rustc 1.15.