X Tutup
Skip to content

adds bitwise not(~) operation to all backends#2865

Merged
9prady9 merged 1 commit intoarrayfire:masterfrom
syurkevi:bitwise_not
May 2, 2020
Merged

adds bitwise not(~) operation to all backends#2865
9prady9 merged 1 commit intoarrayfire:masterfrom
syurkevi:bitwise_not

Conversation

@syurkevi
Copy link
Contributor

This unary operation had been missing. Twos complement -x - 1 trick would fail for some types due to our upcasting behavior.

Copy link
Member

@9prady9 9prady9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have missing af_bitnot in unified API. A lot of math tests failed on Window job.

@9prady9 9prady9 merged commit e1d646c into arrayfire:master May 2, 2020
@umar456 umar456 added this to the 3.8.0 milestone Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup