PreciseSums (0.1)

0 users

Accurate Floating Point Sums and Products.

http://cran.r-project.org/web/packages/PreciseSums

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.

Maintainer: Matthew Fidler
Author(s): 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]

License: GPL (>= 2)

Uses: testthat

Released 4 days ago.


Ratings

Overall:

  (0 votes)

Documentation:

  (0 votes)

Log in to vote.

Reviews

No one has written a review of PreciseSums yet. Want to be the first? Write one now.


Related packages:(20 best matches, based on common tags.)


Search for PreciseSums on google, google scholar, r-help, r-devel.

Visit PreciseSums on R Graphical Manual.