num-traits icon indicating copy to clipboard operation
num-traits copied to clipboard

Consider adding `Min` and `Max` traits for primitive numeric types

Open JohnScience opened this issue 3 years ago • 0 comments

Documented crate implementing the desired traits:

https://crates.io/crates/min_max_traits

One alternative is to have PrimNumeric type that would offer these constants.

JohnScience avatar Jan 16 '22 08:01 JohnScience