Package: PreciseSums 0.7
PreciseSums: Accurate Floating Point Sums and Products
Most of the time floating point arithmetic does approximately the right thing. When adding sums or having products of numbers that greatly differ in magnitude, the floating point arithmetic may be incorrect. This package implements the Kahan (1965) sum <doi:10.1145/363707.363723>, Neumaier (1974) sum <doi:10.1002/zamm.19740540106>, pairwise-sum (adapted from 'NumPy', See Castaldo (2008) <doi:10.1137/070679946> for a discussion of accuracy), and arbitrary precision sum (adapted from the fsum in 'Python' ; Shewchuk (1997) <https://people.eecs.berkeley.edu/~jrs/papers/robustr.pdf>). In addition, products are changed to long double precision for accuracy, or changed into a log-sum for accuracy.
Authors:
PreciseSums_0.7.tar.gz
PreciseSums_0.7.zip(r-4.5)PreciseSums_0.7.zip(r-4.4)PreciseSums_0.7.zip(r-4.3)
PreciseSums_0.7.tgz(r-4.4-x86_64)PreciseSums_0.7.tgz(r-4.4-arm64)PreciseSums_0.7.tgz(r-4.3-x86_64)PreciseSums_0.7.tgz(r-4.3-arm64)
PreciseSums_0.7.tar.gz(r-4.5-noble)PreciseSums_0.7.tar.gz(r-4.4-noble)
PreciseSums_0.7.tgz(r-4.4-emscripten)PreciseSums_0.7.tgz(r-4.3-emscripten)
PreciseSums.pdf |PreciseSums.html✨
PreciseSums/json (API)
NEWS
# Install 'PreciseSums' in R: |
install.packages('PreciseSums', repos = c('https://nlmixr2.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/nlmixr2/precisesums/issues
Last updated 4 months agofrom:2f3c623a3c. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 15 2025 |
R-4.5-win-x86_64 | OK | Jan 15 2025 |
R-4.5-linux-x86_64 | OK | Jan 15 2025 |
R-4.4-win-x86_64 | OK | Jan 15 2025 |
R-4.4-mac-x86_64 | OK | Jan 15 2025 |
R-4.4-mac-aarch64 | OK | Jan 15 2025 |
R-4.3-win-x86_64 | OK | Jan 15 2025 |
R-4.3-mac-x86_64 | OK | Jan 15 2025 |
R-4.3-mac-aarch64 | OK | Jan 15 2025 |
Exports:.preciseSumsPtrfsumkahanSumneumaierSumpairwiseSumpsProdpsSetProdpsSetSumpsSum
Dependencies: