Package: round 0.21-0.2

round: Rounding to Decimal Digits

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.

Authors:Martin Maechler [aut, cre], R-core [ctb]

round_0.21-0.2.tar.gz
round_0.21-0.2.zip(r-4.7-x86_64)round_0.21-0.2.zip(r-4.7-arm64)round_0.21-0.2.zip(r-4.6-x86_64)round_0.21-0.2.zip(r-4.6-arm64)round_0.21-0.2.zip(r-4.5-x86_64)
round_0.21-0.2.tgz(r-4.6-x86_64)round_0.21-0.2.tgz(r-4.6-arm64)round_0.21-0.2.tgz(r-4.5-x86_64)round_0.21-0.2.tgz(r-4.5-arm64)
round_0.21-0.2.tar.gz(r-4.7-arm64)round_0.21-0.2.tar.gz(r-4.7-x86_64)round_0.21-0.2.tar.gz(r-4.6-arm64)round_0.21-0.2.tar.gz(r-4.6-x86_64)
round_0.21-0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
round/json (API)

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

Bug tracker:https://gitlab.com/mmaechler/round

On CRAN:

Conda:

5.10 score 1 packages 12 scripts 1.8k downloads 2 mentions 13 exports 0 dependencies

Last updated from:b1b84b82bd. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK91
linux-devel-x86_64OK105
source / vignettesOK178
linux-release-arm64OK91
linux-release-x86_64OK93
macos-release-arm64OK131
macos-release-x86_64OK197
macos-oldrel-arm64OK87
macos-oldrel-x86_64OK250
windows-devel-arm64OK266
windows-devel-x86_64OK127
windows-release-arm64OK180
windows-release-x86_64OK97
windows-oldrel-x86_64OK79
wasm-releaseOK78

Exports:fpclassifyilogbisnormallogBnearbyintnextafternexttowardrandIround_r3roundAllroundVersionsroundXsignbit

Dependencies:

Rounding to Decimal Digits in Binary
Intro | The Easy Problem "in Theory" | Rounding to Integers | Rounding to non-zero Digits | Versions of round()ing - The Story | Alternative Approaches | Session information

Last update: 2023-10-11
Started: 2020-01-15

Exact Decimal Rounding via Rationals
Intro | Session information

Last update: 2020-07-30
Started: 2020-07-24

Readme and manuals

Help Manual

Help pageTopics
C99 'math' Library Functions (where Not in Standard aka 'Base' R)fpclassify ilogb isnormal logB nearbyint nextafter nexttoward signbit
Random Integers of Specified Number of DigitsrandI
Rounding Numbers to Decimal Digits - VariantsroundAll roundVersions roundX round_r3