Skip to content
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

Safe Double to Int #110

Merged
merged 2 commits into from
Nov 19, 2021
Merged

Safe Double to Int #110

merged 2 commits into from
Nov 19, 2021

Conversation

olejnjak
Copy link
Member

@olejnjak olejnjak commented Nov 9, 2021

Add Int extensions, that allow safe conversion of floating types to Int so conversion doesn't crash.

Checklist

  • Added tests (if applicable)

@olejnjak olejnjak self-assigned this Nov 9, 2021
@olejnjak olejnjak merged commit 64c2230 into master Nov 19, 2021
@olejnjak olejnjak deleted the safe_double_to_int branch November 19, 2021 09:15
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.

3 participants