Package index
Individual rounding procedures
Each of these can also be reached through reround()’s rounding argument.
-
round_up_from()round_down_from()round_up()round_down() - Common rounding procedures
-
round_ties_up()round_ties_down()round_ties_away()round_ties_zero()round_ties_even() - Rounding procedures named by their tie-breaking rule
-
round_ceiling()round_floor()round_trunc()anti_trunc()round_anti_trunc() - Rounding in one direction
-
round_ties_to_even()round_ties_to_away()round_toward_positive()round_toward_negative()round_toward_zero() - IEEE 754 rounding standard
-
reround_to_fraction()reround_to_fraction_level() - Rounding to the nearest fraction
-
rounding_bias() - Compute rounding bias
For package developers
The exact-integer form of unround()’s bounds, the whole-number sums they admit, and the meaning of a "ties_*" string, for building consistency tests on.
-
bound_numerators() - Rounding bounds as exact integers
-
sum_range() - Whole-number sums behind a rounded mean
-
resolve_ties_rounding() - Resolve a
"ties_*"rounding string