Skip to content
/ num Public
forked from rust-num/num

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

License

Notifications You must be signed in to change notification settings

cuviper/num

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

num

crate documentation Travis status

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:

[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 exception is num-derive which requires at least rustc 1.15.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 73.1%
  • Shell 26.9%