Skip to content

Don't rely on inlining of Ord Number in unsafeClamp #38

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 1 commit into from
Oct 14, 2020

Conversation

hdgarrood
Copy link
Contributor

Fixes #34. I've also added a test that the rounding functions behave correctly with negative infinity.

@JordanMartinez JordanMartinez merged commit 1931415 into master Oct 14, 2020
@JordanMartinez JordanMartinez deleted the harry/dont-rely-on-ord-inlining branch October 14, 2020 03:49
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.

unsafeClamp behaves incorrectly for NaN
2 participants