liukun4515 commented on issue #2702: URL: https://github.com/apache/arrow-rs/issues/2702#issuecomment-1250017693
> The issue you've linked relates to const versions of the functions, looking at the docs wrapping_shl seems to be defined for all the primitive types - e.g. https://doc.rust-lang.org/stable/std/primitive.i64.html#method.wrapping_shl But the `rhs` type only be `u32` for any primitive typs. My point is the api of https://doc.rust-lang.org/stable/src/core/num/wrapping.rs.html#87. Do you means that we can implement all data type with converting the `rhs` value to the type of `u32`? -- 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]
