PackageTrack
Sign in Get early access

num-order

Numerically consistent `Eq`, `Ord` and `Hash` implementations for various `num` types (`u32`, `f64`, `num_bigint::BigInt`, etc.)

1.2.0 21M downloads/mo #2023 most downloaded on crates.io cmpute/num-order

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 1.3 years

Some releases are documented

notes for 6 of 11 stable releases

2 versions withdrawn

withdrawn after publishing

4 years old

13 releases · first in 2022

0 releases in the last 12 months

see the full history below

Release timeline

13 releases · Mar 2022 to Aug 2023
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 13
  1. 1.2.0 31 Aug 2023
    Release notes
    • Bump the version of num-modular to prevent a bug.
    • The hash values of negative infinity and NaN are changed.
    • The hash values of rationals with a multiple of M127 are changed.

    It's not released as a new major version because the previously designed values are not intended. It's set by mistake.

    Open source →
  2. 1.1.0 29 Aug 2023
    Release notes

    Now the crate num-traits is an optional dependency, and the libm dependency is removed. The dependency version of num-modular is updated to v0.6.

    Open source →
  3. 1.0.4 24 May 2022
    Release notes

    Bump the version of dependency num-modular.

    Open source →
  4. 1.0.3 17 Apr 2022
    Release notes

    Bump the version of dependency num-modular.

    Open source →
  5. 1.0.2 06 Apr 2022
    Release notes

    Bump the version of dependency num-modular, use MersenneInt for more efficient hashing.

    Open source →
  6. 1.0.1 31 Mar 2022
    Release notes

    First public stable version of num-order! Numerical consistant order and hash comparison are fully supported for following types:

    • Unsigned integers: u8, u16, u32, u64, u128
    • Signed integers: i8, i16, i32, i64, i128
    • Float numbers: f32, f64
    • (num-rational) Rational numbers: Ratio<i8>, Ratio<i16>, Ratio<i32>, Ratio<i64>, Ratio<i128>
    • (num-complex) Complex numbers: Complex<f32>, Complex<f64>

    v1.0.0 was yanked because num-rational is accidentally added as default feature.

    Open source →
  7. 1.0.0 31 Mar 2022 withdrawn

    Nothing published for this version

  8. 0.2.1 18 Mar 2022

    Nothing published for this version

  9. 0.2.0 17 Mar 2022

    Nothing published for this version

  10. 0.1.2 17 Mar 2022 withdrawn

    Nothing published for this version

  11. 0.1.1 07 Mar 2022

    Nothing published for this version

  12. 0.1.0 06 Mar 2022

    Nothing published for this version

  13. 0.0.1 05 Mar 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive