3 unstable releases
| 0.2.0 | Dec 23, 2023 |
|---|---|
| 0.1.1 | May 27, 2023 |
| 0.1.0 | Jul 23, 2022 |
#421 in Math
2,407,586 downloads per month
Used in 1,330 crates
(11 directly)
32KB
771 lines
A collection of bounded numeric types.
Includes:
FiniteF32FiniteF64NonZeroPositiveF32NonZeroPositiveF64PositiveF32PositiveF64NormalizedF32NormalizedF64
Unlike f32/f64, all float types implement Ord, PartialOrd and Hash,
since it's guaranteed that they all are finite.
strict-num
A collection of bounded numeric types.
Includes:
FiniteF32FiniteF64NonZeroPositiveF32NonZeroPositiveF64PositiveF32PositiveF64NormalizedF32NormalizedF64
Unlike f32/f64, all float types implement Ord, PartialOrd and Hash,
since it's guaranteed that they all are finite.
License
MIT
Dependencies
~155KB