RoundMode
Description:
[ CCode ( cprefix = "GARROW_ROUND_" , type_id = "garrow_round_mode_get_type ()" ) ]
[ Version ( since = "7.0.0" ) ]
public enum RoundMode
They correspond to the values of `arrow::compute::RoundMode`.
Content:
Enum values:
- DOWN
- HALF_DOWN
- HALF_TOWARDS_INFINITY
- HALF_TOWARDS_ZERO
- HALF_TO_EVEN
- HALF_TO_ODD
- HALF_UP
- TOWARDS_INFINITY
- TOWARDS_ZERO - 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
- UP