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]
All associated links for this package
First Published: 2017-11-14
Latest Update: 2024-09-17
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 04 Jun. 2026.
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

Today's Hot Picks in Authors and Packages

murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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