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 05 Mar. 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

roccv  
ROC for Cross Validation Results
Cross validate large genetic data while specifying clinical variables that should always be in the m ...
Download / Learn more Package Citations See dependency  
imagefx  
Extract Features from Images
Synthesize images into characteristic features for time-series analysis or machine learning applicat ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
neat  
Efficient Network Enrichment Analysis Test
Includes functions and examples to compute NEAT, the Network Enrichment Analysis Test described in ...
Download / Learn more Package Citations See dependency  
diffIRT  
Diffusion IRT Models for Response and Response Time Data
Package to fit diffusion-based IRT models to response and response time data. Models are fit using ...
Download / Learn more Package Citations See dependency  
ClimClass  
Climate Classification According to Several Indices
Classification of climate according to Koeppen - Geiger, of aridity indices, of continentality indi ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

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