Aucune description

Isaac Carruthers b29c13e54f Remove unnecessary PartialOrd constraint on new Rem implementation. il y a 7 ans
benches 388a3132b8 bigint: allow `Sub` to work in-place on the RHS il y a 8 ans
bigint cbdaf8f6f9 Optimize `BigInt::from_biguint` and `BigInt::assign_from_slice` il y a 7 ans
ci 8b9cdaada2 Test and fix subcrates with --no-default-features il y a 7 ans
complex b29c13e54f Remove unnecessary PartialOrd constraint on new Rem implementation. il y a 7 ans
derive 59b8433a5e derive: bump to 0.1.41 il y a 7 ans
doc b4026b9fec Update repo and doc links il y a 9 ans
integer 63aa15ae9a integer: bump to 0.1.35 il y a 7 ans
iter fe55d1fb4e iter: bump to 0.1.34 il y a 7 ans
macros ef83e851e7 Add keywords and categories to subcrates too. il y a 7 ans
rational 4e9b426c30 rational: bump to 0.1.39 il y a 7 ans
src f8dcec366b Made requested changes. il y a 8 ans
traits ca433f74ab traits: bump to 0.1.40 il y a 7 ans
.gitignore 44679902bd Update num-macros to Rust master il y a 10 ans
.travis.yml 3299702e69 Whitelist branches for CI il y a 7 ans
Cargo.toml 97bc42854a Add CI badge il y a 7 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 8d64ff9708 Add CI badge il y a 7 ans
bors.toml b181cae401 Enable bors-ng il y a 7 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.