Decimal rounding is non-trivial in binary arithmetic. ISO standard round to even is more rare than typically assumed as most decimal fractions are not exactly representable in binary. Our 'roundX()' versions explore differences between current and potential future versions of round() in R. Further, provides (some partly related) C99 math lib functions not in base R.
| Version: | 0.21-0.2 |
| Imports: | stats |
| Suggests: | grDevices, graphics,Matrix,lattice,gmp,knitr,rmarkdown |
| Published: | 2024-01-10 |
| DOI: | 10.32614/CRAN.package.round |
| Author: | Martin Maechler |
| Maintainer: | Martin Maechler <maechler at stat.math.ethz.ch> |
| BugReports: | https://gitlab.com/mmaechler/round/-/issues |
| License: | AGPL (≥ 3) | fileLICENSE |
| URL: | https://gitlab.com/mmaechler/round/ |
| NeedsCompilation: | yes |
| Materials: | README,NEWS |
| CRAN checks: | round results |
| Reference manual: | round.html ,round.pdf |
| Vignettes: | Rounding to Decimal Digits in Binary (source,R code) Exact Decimal Rounding via Rationals (source,R code) |
| Package source: | round_0.21-0.2.tar.gz |
| Windows binaries: | r-devel:round_0.21-0.2.zip, r-release:round_0.21-0.2.zip, r-oldrel:round_0.21-0.2.zip |
| macOS binaries: | r-release (arm64):round_0.21-0.2.tgz, r-oldrel (arm64):round_0.21-0.2.tgz, r-release (x86_64):round_0.21-0.2.tgz, r-oldrel (x86_64):round_0.21-0.2.tgz |
| Old sources: | round archive |
| Reverse suggests: | gmp |
Please use the canonical formhttps://CRAN.R-project.org/package=roundto link to this page.