wForget commented on PR #1416:
URL: 
https://github.com/apache/datafusion-comet/pull/1416#issuecomment-2668316059

   I also tested `wrapping_rem` and it seems to work as expected:
   
   ```
   let a = -2147483648i32;
   let b = -1i32;
   let c = a.wrapping_rem(b);
   println!("a: {}, b: {}, c: {}", a, b, c);
   ```
   result:
   ```
   a: -2147483648, b: -1, c: 0
   ```
   
   Does this mean we can implement a similar `rem_warning` function in 
datafusion?


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to