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.
num is a meta-crate, re-exporting items from these sub-crates:
There is also a proc-macro crate for deriving some numeric traits:
Usage
Add this to your Cargo.toml:
[]
= "0.1"
and this to your crate root:
extern crate num;
Releases
Release notes are available in RELEASES.md.
Compatibility
The num crate is tested for rustc 1.19 and greater.