NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #146 most downloaded on crates.io
Integer traits and functions
Last release 1 months ago
12 Aug 2026
Release timing varies
gaps range from 6 weeks to 2.5 years
Most releases are documented
notes for 12 of 16 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
16 releases · first in 2016
chore: Release num-integer version 0.1.47
chore: Release num-integer version 0.1.47
Roots::sqrtContributors: @durin42, @cuviper, @mikem8891
chore: Release num-integer version 0.1.46
One column per quarter.
Integer::divides method is now properly deprecated,
rather than just documented so.Integer::dec and inc methods change the value by one.Contributors: @aobatact, @cuviper, @hkBst, @MiguelX413
[Integer::next_multiple_of and prev_multiple_of no longer overflow -1][45].
Integer::next_multiple_of and prev_multiple_of no longer overflow -1.Integer::is_multiple_of now handles a 0 argument without panicking
for primitive integers.ExtendedGcd no longer has any private fields, making it possible for
external implementations to customize Integer::extended_gcd.Contributors: @ciphergoth, @cuviper, @tspiteri, @WizardOfMenlo
[The "i128" feature now bypasses compiler probing][35]. The build script used to probe anyway and panic if requested support wasn't found, but sometim
autocfg.Contributors: @cuviper
[The new Average trait][31] computes fast integer averages, rounded up or down, without any risk of overflow.
Average trait computes fast integer averages, rounded up or
down, without any risk of overflow.Contributors: @althonos, @cuviper
[Updated the autocfg build dependency to 1.0][29].
Contributors: @cuviper, @dingelish
[Fixed feature detection on no_std targets][25].
Contributors: @cuviper
[Optimized primitive gcd by avoiding memory swaps][11].
gcd by avoiding memory swaps.lcm(0, 0) to return 0, rather than panicking.Integer::div_ceil, next_multiple_of, and prev_multiple_of.Integer::gcd_lcm, extended_gcd, and extended_gcd_lcm.Contributors: @cuviper, @ignatenkobrain, @smarnach, @strake
[The new Roots trait provides sqrt, cbrt, and nth_root methods][9], calculating an Integer's principal roots rounded toward zero.
Roots trait provides sqrt, cbrt, and nth_root methods,
calculating an Integer's principal roots rounded toward zero.Contributors: @cuviper
[Support for 128-bit integers is now automatically detected and enabled.][8] Setting the i128 crate feature now causes the build script to panic if su
i128 crate feature now causes the build script to panic if such
support is not detected.Contributors: @cuviper
[Integer is now implemented for i128 and u128][7] starting with Rust 1.26, enabled by the new i128 crate feature.
Integer is now implemented for i128 and u128 starting with Rust
1.26, enabled by the new i128 crate feature.Contributors: @cuviper
[num-integer now has its own source repository][num-356] at [rust-num/num-integer][home].
Integer::is_multiple_ofstd feature, enabled by default, along with the implication
that building without this feature makes this a #[no_std] crate.
Contributors: @cuviper, @jaystrictor
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →