rust-num / num-traits

Numeric traits for generic mathematics in Rust
Apache License 2.0
731 stars 135 forks source link

Implementing clamp for Float trait #305

Closed michaelciraci closed 7 months ago

michaelciraci commented 10 months ago

Implementing clamp for Float per this issue: https://github.com/rust-num/num-traits/issues/234

cuviper commented 9 months ago

We can't blindly forward to the inherent methods until Rust 1.50, but I'm planning an MSRV bump soon, stay tuned...