arrow_arith::numeric

Function add_wrapping

Source
pub fn add_wrapping(
    lhs: &dyn Datum,
    rhs: &dyn Datum,
) -> Result<ArrayRef, ArrowError>
Expand description

Perform lhs + rhs, wrapping on overflow for [DataType::is_integer]