koverstreet / num

This crate contains arbitrary-sized integer, rational, and complex types.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

This crate contains arbitrary-sized integer, rational, and complex types.

License:Apache License 2.0


Languages

Language:Rust 99.6%Language:Shell 0.4%