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

Update generic algorithms for revised integer protocols [NFC] #9

Merged
merged 4 commits into from Aug 12, 2017

Conversation

xwu
Copy link
Owner

@xwu xwu commented Aug 5, 2017

This PR updates generic algorithms to match recent revisions to the standard library. The changes, specifically, are:

  • The initializer .init(extendingOrTruncating:) is now .init(truncatingIfNeeded:)
  • ArithmeticOverflow is abolished
  • Smart shifts and binary shifts are reorganized

Some trivial changes to a doc comment are incidentally included in this PR.

This PR will not pass CI testing until the next beta release of XCode and should not be merged until that time.

@xwu xwu merged commit 7130751 into master Aug 12, 2017
@xwu xwu deleted the revised-integer-protocols branch August 12, 2017 02:36
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.

None yet

1 participant