From 3d449a2e01893980379525f1bd6545afe0dec456 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Mon, 14 Jun 2021 00:38:22 -0700 Subject: [PATCH] Update output dtypes for bitwise shift operations --- spec/API_specification/elementwise_functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/API_specification/elementwise_functions.md b/spec/API_specification/elementwise_functions.md index aa69c9a6a..069e82ac9 100644 --- a/spec/API_specification/elementwise_functions.md +++ b/spec/API_specification/elementwise_functions.md @@ -352,7 +352,7 @@ Shifts the bits of each element `x1_i` of the input array `x1` to the left by ap - **out**: _<array>_ - - an array containing the element-wise results. The returned array must have the same data type as `x1`. + - an array containing the element-wise results. The returned array must have a data type determined by {ref}`type-promotion`. (function-bitwise_invert)= ### bitwise_invert(x, /) @@ -411,7 +411,7 @@ Shifts the bits of each element `x1_i` of the input array `x1` to the right acco - **out**: _<array>_ - - an array containing the element-wise results. The returned array must have the same data type as `x1`. + - an array containing the element-wise results. The returned array must have a data type determined by {ref}`type-promotion`. (function-bitwise_xor)= ### bitwise_xor(x1, x2, /)