Crates.io | strict-num |
lib.rs | strict-num |
version | 0.2.0 |
source | src |
created_at | 2022-07-23 12:13:57.869782 |
updated_at | 2023-12-23 08:50:07.257578 |
description | A collection of bounded numeric types |
homepage | |
repository | https://github.com/RazrFalcon/strict-num |
max_upload_size | |
id | 631380 |
size | 33,924 |
A collection of bounded numeric types.
Includes:
FiniteF32
FiniteF64
NonZeroPositiveF32
NonZeroPositiveF64
PositiveF32
PositiveF64
NormalizedF32
NormalizedF64
Unlike f32
/f64
, all float types implement Ord
, PartialOrd
and Hash
,
since it's guaranteed that they all are finite.
MIT