FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

adds bitwise not(~) operation to all backends by syurkevi · Pull Request #2865 · arrayfire/arrayfire · GitHub

Repository navigation

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

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

9prady9 merged 1 commit into
arrayfire:masterfrom
syurkevi:bitwise_not

Conversation

Copy link
Copy Markdown
Contributor

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

Comment thread include/af/arith.h

9prady9 left a comment •
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Comment thread include/af/arith.h
Comment thread src/api/c/unary.cpp
Comment thread src/api/c/unary.cpp Outdated
Comment thread src/api/cpp/array.cpp Outdated
Comment thread test/binary.cpp Outdated
Comment thread test/binary.cpp Outdated
9prady9 merged commit e1d646c into arrayfire:master May 2, 2020
umar456 added this to the 3.8.0 milestone Jun 27, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL