Go to file
bors[bot] ebc36b3e55 Merge #313
313: Scalar operations across all integer types r=cuviper

With my apologies for opening a new PR, and also for the 8 month delay, this continues the work started in #237 - the discussion there outlines the goals I was aiming for. I suppose this supersedes that PR and the other one can now be closed.

This PR adds support for Add, Sub, Mul, Div and Rem operations involving one BigInt/BigUint and one primitive integer, with operands in either order, and any combination of owned/borrowed arguments.
2017-07-12 05:16:29 +00:00
benches bigint: allow `Sub` to work in-place on the RHS 2016-07-08 17:34:12 -07:00
bigint Merge #313 2017-07-12 05:16:29 +00:00
ci Test and fix subcrates with --no-default-features 2017-06-09 09:54:50 -07:00
complex Add keywords and categories to subcrates too. 2017-07-11 09:30:42 +01:00
derive Merge #314 2017-07-11 22:28:02 +00:00
doc Update repo and doc links 2015-11-12 18:40:13 -08:00
integer Add keywords and categories to subcrates too. 2017-07-11 09:30:42 +01:00
iter Add keywords and categories to subcrates too. 2017-07-11 09:30:42 +01:00
macros Add keywords and categories to subcrates too. 2017-07-11 09:30:42 +01:00
rational Add keywords and categories to subcrates too. 2017-07-11 09:30:42 +01:00
src Made requested changes. 2017-02-07 13:02:32 -07:00
traits Add keywords and categories to subcrates too. 2017-07-11 09:30:42 +01:00
.gitignore Update num-macros to Rust master 2015-05-14 10:19:47 -07:00
.travis.yml Whitelist branches for CI 2017-07-08 22:28:49 -07:00
Cargo.toml Tweak categories based on review. 2017-07-11 09:47:15 +01:00
LICENSE-APACHE Initial seeding from rust repo 2014-09-16 10:35:35 -07:00
LICENSE-MIT Initial seeding from rust repo 2014-09-16 10:35:35 -07:00
README.md add missing '`' in README.md 2017-05-03 14:41:43 +08:00
bors.toml Enable bors-ng 2017-07-08 22:29:48 -07:00

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.