fpCompare: Reliable Comparison of Floating Point Numbers

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.

Install the latest version of this package by entering the following in R:
install.packages("fpCompare")
AuthorAlex M Chubaty [aut, cre], Her Majesty the Queen in Right of Canada, as represented by the Minister of Natural Resources Canada [cph]
Date of publication2015-09-01 21:03:31
MaintainerAlex M Chubaty <alexander.chubaty@canada.ca>
LicenseGPL-3
Version0.2.1
https://github.com/PredictiveEcology/fpCompare

View on CRAN

Files

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.