Skip to content

Add clarification note regarding arithmetic shift in bitwise_right_shift #200

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
Jun 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions spec/API_specification/elementwise_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,11 @@ Computes the bitwise OR of the underlying binary representation of each element

Shifts the bits of each element `x1_i` of the input array `x1` to the right according to the respective element `x2_i` of the input array `x2`.

```{note}

This operation must be an arithmetic shift (i.e., sign-propagating) and thus equivalent to floor division by a power of two.
```

#### Parameters

- **x1**: _<array>_
Expand Down