From 5d5badf63cb8f6db5b255c351d1e9f649bef4084 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Mon, 14 Jun 2021 00:11:43 -0700 Subject: [PATCH] Add clarification note regarding arithmetic shift --- spec/API_specification/elementwise_functions.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/API_specification/elementwise_functions.md b/spec/API_specification/elementwise_functions.md index aa69c9a6a..c19d658e6 100644 --- a/spec/API_specification/elementwise_functions.md +++ b/spec/API_specification/elementwise_functions.md @@ -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>_