#mathematics #numerics

no-std num-integer

Integer traits and functions

8 releases

0.1.39 Jun 21, 2018
0.1.38 May 11, 2018
0.1.36 Feb 7, 2018
0.1.35 Jul 15, 2017
0.1.32 Apr 14, 2016

#2 in Math

Download history 35069/week @ 2018-05-27 39605/week @ 2018-06-03 42104/week @ 2018-06-10 37943/week @ 2018-06-17 42116/week @ 2018-06-24 43853/week @ 2018-07-01 39569/week @ 2018-07-08 43055/week @ 2018-07-15 43607/week @ 2018-07-22 39696/week @ 2018-07-29 42422/week @ 2018-08-05 41135/week @ 2018-08-12 38459/week @ 2018-08-19

163,549 downloads per month

num-integer

crate documentation minimum rustc 1.8 Travis status

Integer trait and functions for Rust.

Usage

Add this to your Cargo.toml:

[dependencies]
num-integer = "0.1"

and this to your crate root:

extern crate num_integer;

Features

This crate can be used without the standard library (#![no_std]) by disabling the default std feature. Use this in Cargo.toml:

[dependencies.num-integer]
version = "0.1.36"
default-features = false

There is no functional difference with and without std at this time, but there may be in the future.

Implementations for i128 and u128 are only available with Rust 1.26 and later. The build script automatically detects this, but you can make it mandatory by enabling the i128 crate feature.

Releases

Release notes are available in RELEASES.md.

Compatibility

The num-integer crate is tested for rustc 1.8 and greater.

MIT/Apache-2.0 license

Dependencies

  • build build.rs

Reverse deps