Package: PreciseSums Title: Accurate Floating Point Sums and Products Version: 0.7 Authors@R: c(person("Matthew","Fidler", role = c("aut","cre","cph"), email = "matthew.fidler@gmail.com"), person("Raymond","Hettinger",role=c("cph","aut")), person("Jonathan", "Shewchuk",role=c("cph","aut")), person("Julian", "Taylor",role=c("cph","aut")), person("Nathaniel", "Smith",role=c("cph","aut")), person("NumPy Team", role="cph"), person("Python Team", role="cph") ) Description: 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 , Neumaier (1974) sum , pairwise-sum (adapted from 'NumPy', See Castaldo (2008) for a discussion of accuracy), and arbitrary precision sum (adapted from the fsum in 'Python' ; Shewchuk (1997) ). In addition, products are changed to long double precision for accuracy, or changed into a log-sum for accuracy. Depends: R (>= 3.2) License: GPL (>= 2) Encoding: UTF-8 RoxygenNote: 7.3.2 Suggests: testthat BugReports: https://github.com/nlmixr2/PreciseSums/issues/ URL: https://github.com/nlmixr2/PreciseSums Repository: https://nlmixr2.r-universe.dev Date/Publication: 2024-09-17 21:38:56 UTC RemoteUrl: https://github.com/nlmixr2/PreciseSums RemoteRef: HEAD RemoteSha: 2f3c623a3c58db011ef71dc76cbca0037c4af570 NeedsCompilation: yes Packaged: 2026-06-24 02:28:57 UTC; root Author: Matthew Fidler [aut, cre, cph], Raymond Hettinger [cph, aut], Jonathan Shewchuk [cph, aut], Julian Taylor [cph, aut], Nathaniel Smith [cph, aut], NumPy Team [cph], Python Team [cph] Maintainer: Matthew Fidler