Other packages > Find by keyword >

PreciseSums  

Accurate Floating Point Sums and Products
View on CRAN: Click here


Download and install PreciseSums package within the R console
Install from CRAN:
install.packages("PreciseSums")

Install from Github:
library("remotes")
install_github("cran/PreciseSums")

Install by package version:
library("remotes")
install_version("PreciseSums", "0.7")



Attach the package and use:
library("PreciseSums")
Maintained by
Matthew Fidler
[Scholar Profile | Author Map]
First Published: 2017-11-14
Latest Update: 2023-04-22
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.
How to cite:
Matthew Fidler (2017). PreciseSums: Accurate Floating Point Sums and Products. R package version 0.7, https://cran.r-project.org/web/packages/PreciseSums. Accessed 10 Apr. 2025.
Previous versions and publish date:
0.1 (2017-11-14 16:48), 0.3 (2018-04-12 19:03), 0.4 (2020-07-10 12:40), 0.5 (2022-04-22 10:50), 0.6 (2023-04-22 02:52)
Other packages that cited PreciseSums R package
View PreciseSums citation profile
Other R packages that PreciseSums depends, imports, suggests or enhances
Complete documentation for PreciseSums
Functions, R codes and Examples using the PreciseSums R package
Some associated functions: fsum . kahanSum . neumaierSum . pairwiseSum . psProd . psSetProd . psSetSum . psSum . 
Some associated R codes: sums.R .  Full PreciseSums package functions and examples
Downloads during the last 30 days
03/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/09Downloads for PreciseSums2025303540455055606570758085TrendBars

Today's Hot Picks in Authors and Packages

txtq  
A Small Message Queue for Parallel Processes
This queue is a data structure that lets parallel processes send and receive messages, and it can he ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
GRNNs  
General Regression Neural Networks Package
This General Regression Neural Networks Package uses various distance functions. It was motivated b ...
Download / Learn more Package Citations See dependency  
ecochange  
Integrating Ecosystem Remote Sensing Products to Derive EBV Indicators
Essential Biodiversity Variables (EBV) are state variables with dimensions on time, space, and biolo ...
Download / Learn more Package Citations See dependency  
webglobe  
3D Interactive Globes
Displays geospatial data on an interactive 3D globe in the web browser. ...
Download / Learn more Package Citations See dependency  
xtermStyle  
Terminal Text Formatting Using Escape Sequences
Can be used for coloring output in terminals. It was developed for the standard Ubuntu terminal but ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,867

Author Associations

24,013

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA