Perform `lhs % rhs` Division by zero will result in an error, with exception to floating point numbers, which instead follow the IEEE 754 rules `signed_integer::MIN % -1` will not result in an error but return 0
(lhs: &dyn Datum, rhs: &dyn Datum)
| 75 | /// |
| 76 | /// `signed_integer::MIN % -1` will not result in an error but return 0 |
| 77 | pub fn rem(lhs: &dyn Datum, rhs: &dyn Datum) -> Result<ArrayRef, ArrowError> { |
| 78 | arithmetic_op(Op::Rem, lhs, rhs) |
| 79 | } |
| 80 | |
| 81 | macro_rules! neg_checked { |
| 82 | ($t:ty, $a:ident) => {{ |