Skip to content

Debug-panic in clamp_min/max if min/max is NAN #135

New issue

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

Merged
merged 3 commits into from
Sep 24, 2019

Conversation

jturner314
Copy link
Contributor

This also improves the docs for clamp, clamp_min, and clamp_max.

Closes #134.

This also improves the docs for `clamp`, `clamp_min`, and `clamp_max`.
@cuviper
Copy link
Member

cuviper commented Sep 24, 2019

Thanks!

bors r+

bors bot added a commit that referenced this pull request Sep 24, 2019
135: Debug-panic in clamp_min/max if min/max is NAN r=cuviper a=jturner314

This also improves the docs for `clamp`, `clamp_min`, and `clamp_max`.

Closes #134.

Co-authored-by: Jim Turner <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 24, 2019

Build succeeded

@bors bors bot merged commit 987ed8f into rust-num:master Sep 24, 2019
@jturner314 jturner314 deleted the nan-one-sided-clamp branch September 24, 2019 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Behavior of NAN as min/max for clamp_min/max
2 participants