79928b3185
Before: test divide_0 ... bench: 4,058 ns/iter (+/- 255) test divide_1 ... bench: 304,507 ns/iter (+/- 28,063) test divide_2 ... bench: 668,293,969 ns/iter (+/- 25,383,239) After: test divide_0 ... bench: 874 ns/iter (+/- 71) test divide_1 ... bench: 16,641 ns/iter (+/- 1,205) test divide_2 ... bench: 1,336,888 ns/iter (+/- 77,450) |
||
---|---|---|
.travis | ||
benches | ||
doc | ||
num-macros | ||
src | ||
.gitignore | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
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.
Usage
Add this to your Cargo.toml
:
[dependencies]
num = "0.1"
and this to your crate root:
extern crate num;