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

Add bitwise operators: &, |, ^ #1594

Merged
merged 1 commit into from
Dec 19, 2019
Merged

Add bitwise operators: &, |, ^ #1594

merged 1 commit into from
Dec 19, 2019

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Dec 19, 2019

Why we need this PR?

  • It adds new feature needed because we want to support more python operators

What happened in this PR?

  • What solution was applied:

Support bitwise operators in backend and python wrapper.

Bitwise operators follow the same type promotions
as other binary operators.
The type promotions are applied first.
The are disallowed for non-integral types.

  • Affected modules and functionalities:

expressions

  • Key points relevant for the review:

  • Validation and testing:

Test were updated.

  • Documentation (including examples):

WIll do in a follow up.

JIRA TASK: [required by 1190]

Support bitwise operators in backend and python wrapper.

Bitwise operators follow the same type promotions
as other binary operators.
The type promotions are applied first.
The are disallowed for non-integral types.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Dec 19, 2019

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1040475]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1040475]: BUILD PASSED

@klecki klecki merged commit 89c6bed into NVIDIA:master Dec 19, 2019
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