Skip to content

Commit 9469487

Browse files
authored
Add clarification note regarding arithmetic shift (#200)
1 parent 7038c9c commit 9469487

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/API_specification/elementwise_functions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,11 @@ Computes the bitwise OR of the underlying binary representation of each element
397397

398398
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`.
399399

400+
```{note}
401+
402+
This operation must be an arithmetic shift (i.e., sign-propagating) and thus equivalent to floor division by a power of two.
403+
```
404+
400405
#### Parameters
401406

402407
- **x1**: _<array>_

0 commit comments

Comments
 (0)