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: 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 07 Nov. 2024.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

robregcc  
Robust Regression with Compositional Covariates
We implement the algorithm estimating the parameters of the robust regression model with composition ...
Download / Learn more Package Citations See dependency  
bacondecomp  
Goodman-Bacon Decomposition
Decomposition for differences-in-differences with variation in treatment timing from Goodman-Bacon ...
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  
con2aqi  
Calculate the AQI from Pollutant Concentration
To calculate the AQI (Air Quality Index) from pollutant concentration data. O3, PM2.5, PM10, CO, SO ...
Download / Learn more Package Citations See dependency  

23,092

R Packages

198,677

Dependencies

62,675

Author Associations

23,089

Publication Badges

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