fpCompare: Reliable Comparison of Floating Point Numbers

Share:

Comparisons of floating point numbers are problematic due to errors associated with the binary representation of decimal numbers. Despite being aware of these problems, people still use numerical methods that fail to account for these and other rounding errors (this pitfall is the first to be highlighted in Circle 1 of Burns (2012) [The R Inferno](http://www.burns-stat.com/pages/Tutor/R_inferno.pdf)). This package provides new relational operators useful for performing floating point number comparisons with a set tolerance.

Author
Alex M Chubaty [aut, cre], Her Majesty the Queen in Right of Canada, as represented by the Minister of Natural Resources Canada [cph]
Date of publication
2015-09-01 21:03:31
Maintainer
Alex M Chubaty <alexander.chubaty@canada.ca>
License
GPL-3
Version
0.2.1
URLs

View on CRAN

Man pages

relational-operators
Relational operators with tolerance

Files in this package

fpCompare
fpCompare/inst
fpCompare/inst/examples
fpCompare/inst/examples/examples.R
fpCompare/inst/doc
fpCompare/inst/doc/fpCompare.pdf
fpCompare/inst/doc/fpCompare.Rmd
fpCompare/tests
fpCompare/tests/testthat
fpCompare/tests/testthat/test-numerical-comparisons.R
fpCompare/tests/test-all.R
fpCompare/NAMESPACE
fpCompare/NEWS
fpCompare/R
fpCompare/R/fpCompare.R
fpCompare/R/zzz.R
fpCompare/vignettes
fpCompare/vignettes/bibliography.bib
fpCompare/vignettes/fpCompare.Rmd
fpCompare/README.md
fpCompare/MD5
fpCompare/build
fpCompare/build/vignette.rds
fpCompare/DESCRIPTION
fpCompare/man
fpCompare/man/relational-operators.Rd