fpCompare: Reliable Comparison of Floating Point Numbers
Version 0.2.1

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.

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
URL https://github.com/PredictiveEcology/fpCompare
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("fpCompare")

Getting started

README.md
fpCompare"

Popular man pages

relational-operators: Relational operators with tolerance
See all...

All man pages Function index File listing

Man pages

relational-operators: Relational operators with tolerance

Functions

\%!=\% Man page
\%<<\% Man page
\%<=\% Man page
\%==\% Man page
\%>=\% Man page
\%>>\% Man page
onLoad Source code
onUnload Source code

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
fpCompare documentation built on May 20, 2017, 12:48 a.m.

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

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

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