viirya commented on code in PR #3033:
URL: https://github.com/apache/arrow-rs/pull/3033#discussion_r1014889685


##########
arrow-buffer/src/bigint.rs:
##########
@@ -157,7 +157,7 @@ impl i256 {
 
     /// Create an i256 from the provided [`BigInt`] returning a bool indicating
     /// if overflow occurred
-    fn from_bigint_with_overflow(v: BigInt) -> (Self, bool) {
+    pub fn from_bigint_with_overflow(v: BigInt) -> (Self, bool) {

Review Comment:
   Okay. I did add `from_f64` at first, but changed to using public 
`from_bigint_with_overflow` because not sure if we need adding another function 
if existing one works.



-- 
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]

Reply via email to