AdamGS opened a new pull request, #10363: URL: https://github.com/apache/arrow-rs/pull/10363
# Which issue does this PR close? - Closes #10362. # Rationale for this change I think this makes i256 more ergonomic, and closer to the native primitive types. # What changes are included in this PR? Introduces two new public functions: 1. `i256::overflowing_add` 2. `i256::overflowing_sub` Makes the following functions const: 1. `i256::to_i128` 2. `i256::as_i128` 3. `i256::wrapping_abs` 4. `i256::checked_abs` 5. `i256::wrapping_neg` 6. `i256::checked_neg` 7. `i256::wrapping_add` 8. `i256::checked_add` 9. `i256::wrapping_sub` 10. `i256::checked_sub` 11. `i256::wrapping_mul` 12. `i256::checked_mul` 13. `i256::checked_pow` 14. `i256::wrapping_pow` # Are these changes tested? Existing testing suite with some small modifications, and two new tests. # Are there any user-facing changes? New functions. -- 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]
