Sem descrição

Alan Liddell 3c490cdee4 adds basic parser for complex numbers in Cartesian form há 7 anos atrás
benches 388a3132b8 bigint: allow `Sub` to work in-place on the RHS há 8 anos atrás
bigint 8964c65f38 bigint: apply a consistent order of conversion methods há 7 anos atrás
ci 8b9cdaada2 Test and fix subcrates with --no-default-features há 7 anos atrás
complex 3c490cdee4 adds basic parser for complex numbers in Cartesian form há 7 anos atrás
derive 1a66ee9e80 Add licenses to subcrates há 8 anos atrás
doc b4026b9fec Update repo and doc links há 9 anos atrás
integer 6513a5618b num-integer-0.1.34 há 8 anos atrás
iter 1a66ee9e80 Add licenses to subcrates há 8 anos atrás
macros 1a66ee9e80 Add licenses to subcrates há 8 anos atrás
rational 81e932b671 rational: bump to 0.1.38 há 7 anos atrás
src f8dcec366b Made requested changes. há 8 anos atrás
traits 796adf5dfa traits: bump to 0.1.39 há 7 anos atrás
.gitignore 44679902bd Update num-macros to Rust master há 10 anos atrás
.travis.yml 3299702e69 Whitelist branches for CI há 7 anos atrás
Cargo.toml b1b034f438 num: bump to 0.1.39 há 7 anos atrás
LICENSE-APACHE 482f0e0b74 Initial seeding from rust repo há 10 anos atrás
LICENSE-MIT 482f0e0b74 Initial seeding from rust repo há 10 anos atrás
README.md ea45567f0c add missing '`' in README.md há 8 anos atrás
bors.toml b181cae401 Enable bors-ng há 7 anos atrás

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.