Skip to content

NSNumber: More Darwin compatibility fixes #1213

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
Sep 14, 2017

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Sep 12, 2017

  • When comparing signed/unsigned integers, always compare both
    as SInt128.

  • Add special handling for comparing values with Float.nan and
    Double.nan.

- When comparing signed/unsigned integers, always compare both
  as SInt128.

- Add special handling for comparing values with Float.nan and
  Double.nan.
@spevans
Copy link
Contributor Author

spevans commented Sep 12, 2017

@ianpartridge If you want to commit #1204 first, I can always rebase this on top and fix up those test cases you commented out.

@spevans
Copy link
Contributor Author

spevans commented Sep 12, 2017

@swift-ci please test

1 similar comment
@spevans
Copy link
Contributor Author

spevans commented Sep 13, 2017

@swift-ci please test

@ianpartridge
Copy link
Contributor

I confirm this fixes the NSNumber issues that my extra tests in #1204 exposed. I think it would be best to merge this one first, then my PR?

@spevans
Copy link
Contributor Author

spevans commented Sep 13, 2017

Ah yes, I forgot you tested #1204 on top of this

@spevans spevans requested a review from phausler September 13, 2017 18:01
@ianpartridge
Copy link
Contributor

CC: @norio-nomura

@ianpartridge
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit 7f4372f into swiftlang:master Sep 14, 2017
@spevans spevans deleted the pr_nsnumber_fixes1 branch September 19, 2017 15:03
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.

4 participants