Changelog
Source:NEWS.md
roundwork 0.0.1
CRAN release: 2024-09-25
- Initial CRAN submission.
- This new package is a spin-off from scrutiny. Much of the code was copied from there; see Github issue lhdjung/scrutiny#68.
- Notable changes compared to scrutiny:
-
unround()no longer guesses whether the bounds are inclusive withrounding = "even". This is highly variable in the underlyingbase::round()function, and the firm statement in earlier versions of scrutiny that the bounds are never inclusive was unwarranted. -
unround(),anti_trunc(), andround_anti_trunc()now correctly return zero in a rare edge case (rounding or unrounding zero while assuming"anti_trunc"rounding). - Five new functions around
round_ties_to_even()implement the IEEE 754 rounding standard by wrapping existing functions.
-