[go: up one dir, main page]

num-order 1.0.4

Numerically consistent `Eq`, `Ord` and `Hash` implementations for various `num` types (`u32`, `f64`, `num_bigint::BigInt`, etc.)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Changelog

## [1.0.2] - 2022-04-06

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

## [1.0.1] - 2022-03-31

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.