| NEWS | R Documentation |
round R package News
Changes in version 0.21-0.2 [2024-01-10]
Misc
2nd try:
R CMD buildadded the ‘*.R’ toinst/doc, ...
Changes in version 0.21-0.1 [2023-12-07]
Misc
R CMD buildnow added the ‘*.R’ toinst/doc,circumventingknitr's hack with_R_CHECK_LICENCE_.
Changes in version 0.21-0 [2023-10-10]
BUG FIXES
‘../tests/round-tst.R’: Better at detecting non-validlong-double; needed e.g., for BDR's valgrind instrumented R checks.
R bugzilla URL updates.
Changes in version 0.20-0 [2021-01-04]
NEW FEATURES
New vignette ‘rationalRound’, comparing CRAN packagegmp's based exact rational rounding with our package'salgorithms.
BUG FIXES
adapt ‘tests/’ to failing (NaN) for some
"r3.C"cases, when there are no long doubles (as on Mac M1).
Changes in version 0.12-2 [2020-07-04]
NEW FEATURES
in
roundX()'s help page example, consider numerical noisewhen checking for equality of different versions.The ‘Rounding’ vignette now givesR 4.0.0's state andmentions mathematicalexact rounding via rational arithmetic.
BUG FIXES
Tweaked ‘tests/’ slightly so they work on anR configuredwith
--no-long-double.
Changes in version 0.12-1 [2020-01-14]
NEW FEATURES
Added
traceoption to"r3d.C", as it failed on32-bit (Windows and Fedora 30) platforms, givingInf7 out of16 times forroundX(.Machine$double.xmax, -(295:310), "r3d.C").
Changes in version 0.12-0 [2020-01-13]
NEW FEATURES
Added rounding version
"r3d.C", version of"r3.C"which isnot using anylong doubleand should match thepureR version"r3"more closely.
Changes in version 0.11-0 [2020-01-12]
NEW FEATURES
externalized
round_r3()and addedinfooption.provide simple wrapper
roundAll()to apply allroundVersions.Obey CRAN requirements by adding info to ‘DESCRIPTION’, etc.
Added C rounding version
"r3.C", by translating theRcode of"r3"to C, making use oflong doubletopossibly get extended accuracy.
Changes in version 0.10-1 [2020-01-06]
NEW FEATURES
added
"sprintf"version forround(); newroundVersions, Jan. 2.+ first regression tests.
AddedR (interface to libc) version of C99 libmath functions
logB(),ilogb(),nearbyint(),fpclassify(),isnormal(),signbit(), andnextafter().added
"r2a.C"version ofround(), correspondingto my (svn r77618; Dec 24, 2019) commit to R-devel.added
"r3", my “optimal”round()pureR version.new
randI()for random integers of specified number ofdigits, in order to create simulated data examples forround*()testing.
Changes in version 0.10-0 [2020-01-01]
NEW FEATURES
New packageround:Implements several versions of
round(x, digits);with just the one functionroundX(x, digits, version)andpossible versionsc("r0", "r1", "r1a", "r2"), all via C codeof current (R-devel) and former (R and R-devel) versions ofR's ownround(x, digits).E.g.,
"r2"is related to my change ofround()inR-devel via svn commit r77618, on 2019-12-24, with messagetweaks to round() bug fix for PR#17668 in r77609.