zuexact: Exactly Rounded Sums, Means and Dot Products

Sums of double-precision numbers computed exactly and rounded once, so the result is the correctly rounded true sum and does not depend on the order of the elements, the platform, or whether R was built with long doubles. Built on the small and large superaccumulators of Neal (2015) <doi:10.48550/arXiv.1505.05571>. Provides exactly rounded sums, means, cumulative sums, dot products and norms, row, column and grouped sums, accumulators that can be built in pieces and merged across processes, and a registered 'C' interface for other packages.

Version: 0.1.0
Depends: R (≥ 4.1)
Suggests: gmp, knitr, parallel, PreciseSums, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-10-22
DOI: 10.32614/CRAN.package.zuexact (may not be active yet)
Author: Pedro Baltazar [aut, cre, cph], Radford M. Neal [cph] (Author of the vendored 'xsum' library)
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/zuexact/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://pedrobtz.github.io/zuexact/, https://github.com/pedrobtz/zuexact
NeedsCompilation: yes
SystemRequirements: C99
Language: en-GB
Materials: README, NEWS
CRAN checks: zuexact results

Documentation:

Reference manual: zuexact.html , zuexact.pdf
Vignettes: Exact summation (source, R code)

Downloads:

Package source: zuexact_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): zuexact_0.1.0.tgz, r-oldrel (arm64): zuexact_0.1.0.tgz, r-release (x86_64): zuexact_0.1.0.tgz, r-oldrel (x86_64): zuexact_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zuexact to link to this page.