Get the integral part without fractional digits (aka "trunc")
GARROW_ROUND_TOWARDS_INFINITY,
Round negative values with GARROW_ROUND_MODE_DOWN
rule
and positive values with UP rule (aka "away from zero")
GARROW_ROUND_HALF_DOWN,
Round ties with GARROW_ROUND_MODE_DOWN
rule
(also called "round half towards negative infinity")
GARROW_ROUND_HALF_UP,
Round ties with GARROW_ROUND_MODE_UP
rule
(also called "round half towards positive infinity")
GARROW_ROUND_HALF_TOWARDS_ZERO,
Round ties with GARROW_ROUND_MODE_TOWARDS_ZERO rule
(also called "round half away from infinity")
GARROW_ROUND_HALF_TOWARDS_INFINITY,
Round ties with GARROW_ROUND_MODE_TOWARDS_INFINITY rule
(also called "round half away from zero")
GARROW_ROUND_HALF_TO_EVEN,
Round ties to nearest even integer
GARROW_ROUND_HALF_TO_ODD,
Round ties to nearest odd integer
They correspond to the values of
arrow::compute::RoundMode
.