Skip to content

math - inure against integral promotion changes#5653

Merged
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:math-promotions
Jul 25, 2017
Merged

math - inure against integral promotion changes#5653
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:math-promotions

Conversation

@WalterBright
Copy link
Member

Makes use of the identities ~x == -1 - x and -x = 0 - x to cause integral promotion to happen properly.

Blocking dlang/dmd#7013

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants