We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be useful to have uom support clamp.
uom
clamp
My attempt at implementing it ran into problems caused by there being different definitions for
{std,core}::cmp::Ord::clamp
{f32,f64}::clamp
and my not knowing how to treat these separately inside uom's implementation.
The text was updated successfully, but these errors were encountered:
Closing this as a duplicate of #239.
Sorry, something went wrong.
Ah, sorry, I should have found #239.
Here's the draft PR: #377.
No branches or pull requests
It would be useful to have
uom
supportclamp
.My attempt at implementing it ran into problems caused by there being different definitions for
{std,core}::cmp::Ord::clamp
{f32,f64}::clamp
and my not knowing how to treat these separately inside
uom
's implementation.The text was updated successfully, but these errors were encountered: