Package: roundwork 0.2.0

roundwork: Rounding Infrastructure

Flexible rounding functions for use in error detection, including the exact rounding bounds that consistency tests are built on. They were outsourced from the 'scrutiny' package, which depends on them since its version 1.0.0.

Authors:Lukas Jung [aut, cre]

roundwork_0.2.0.tar.gz
roundwork_0.2.0.zip(r-4.7-any)roundwork_0.2.0.zip(r-4.6-any)roundwork_0.2.0.zip(r-4.5-any)
roundwork_0.2.0.tgz(r-4.6-any)roundwork_0.2.0.tgz(r-4.5-any)
roundwork_0.2.0.tar.gz(r-4.7-any)roundwork_0.2.0.tar.gz(r-4.6-any)
roundwork_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
roundwork/json (API)

# Install 'roundwork' in R:
install.packages('roundwork', repos = c('https://lhdjung.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/lhdjung/roundwork/issues

Pkgdown/docs site:https://lhdjung.github.io

On CRAN:

Conda:

5.39 score 1 packages 27 scripts 355 downloads 27 exports 10 dependencies

Last updated from:54631ce0b9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK131
source / vignettesOK224
linux-releaseOK179
macos-releaseOK101
macos-oldrelOK132
windows-develOK90
windows-releaseOK115
windows-oldrelOK94
wasm-releaseOK102

Exports:anti_truncbound_numeratorsreroundreround_to_fractionreround_to_fraction_levelresolve_ties_roundinground_anti_truncround_ceilinground_downround_down_fromround_floorround_ties_awayround_ties_downround_ties_evenround_ties_to_awayround_ties_to_evenround_ties_upround_ties_zeroround_toward_negativeround_toward_positiveround_toward_zeroround_truncround_upround_up_fromrounding_biassum_rangeunround

Dependencies:cligluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrs

Rounding in depth
Overview | Reconstruct rounded numbers with reround() | Rounding procedures in detail | Up and down | Ties, named directly | To even (base R) | IEEE 754 rounding standard | Reconstruct rounding bounds with unround() | Bounds as exact integers | Fractional rounding | Rounding bias | Citation dummy | References

Last update: 2026-11-03
Started: 2024-04-28

Rounding options
Which option to choose | The options | Negative numbers: symmetric | Rounding at 5 in other software | Note on rounding to even | A note on roundwork's names

Last update: 2026-11-03
Started: 2024-04-28

Relation to scrutiny
Resolving conflicts

Last update: 2026-10-27
Started: 2024-09-22

Readme and manuals

Help Manual

Help pageTopics
Rounding bounds as exact integersbound_numerators
Rounding to the nearest fractionfractional-rounding reround_to_fraction reround_to_fraction_level
IEEE 754 rounding standardieee-754 round_ties_to_away round_ties_to_even round_toward_negative round_toward_positive round_toward_zero
General interface to reconstructing rounded numbersreround
Resolve a '"ties_*"' rounding stringresolve_ties_rounding
Compute rounding biasrounding_bias
Common rounding proceduresrounding-common round_down round_down_from round_up round_up_from
Rounding procedures named by their tie-breaking rulerounding-ties round_ties_away round_ties_down round_ties_even round_ties_up round_ties_zero
Rounding in one directionanti_trunc rounding-uncommon round_anti_trunc round_ceiling round_floor round_trunc
Whole-number sums behind a rounded meansum_range
Reconstruct rounding boundsunround