Weijun-H commented on code in PR #4148:
URL: https://github.com/apache/arrow-rs/pull/4148#discussion_r1180163599
##########
arrow-arith/src/bitwise.rs:
##########
@@ -143,6 +177,24 @@ mod tests {
Ok(())
}
+ #[test]
Review Comment:
This makes sense, as `wrapping_shr` would shift the position would be the
remainder of the type. So `wrapping_shr(3_i32, 32) == 3` and
`wrapping_shr(3_i32, 33) == 1`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]