Module arrow_arith::numeric
source · Expand description
Defines numeric arithmetic kernels on PrimitiveArray
, such as add
Functions
- Perform
lhs + rhs
, returning an error on overflow - Perform
lhs + rhs
, wrapping on overflow forDataType::is_integer
- Perform
lhs / rhs
- Perform
lhs * rhs
, returning an error on overflow - Perform
lhs * rhs
, wrapping on overflow forDataType::is_integer
- Negates each element of
array
, returning an error on overflow - Negates each element of
array
, wrapping on overflow forDataType::is_integer
- Perform
lhs % rhs
- Perform
lhs - rhs
, returning an error on overflow - Perform
lhs - rhs
, wrapping on overflow forDataType::is_integer