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.
Version: | 0.2.3 |
Depends: | R (≥ 3.3) |
Suggests: | knitr, rmarkdown, testthat |
Published: | 2019-09-10 |
Author: | Alex M Chubaty [aut, cre], Her Majesty the Queen in Right of Canada, as represented by the Minister of Natural Resources Canada [cph] |
Maintainer: | Alex M Chubaty <alex.chubaty at gmail.com> |
BugReports: | https://github.com/PredictiveEcology/fpCompare/issues |
License: | GPL-3 |
URL: | https://github.com/PredictiveEcology/fpCompare |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | fpCompare results |
Reference manual: | fpCompare.pdf |
Vignettes: |
fpCompare: reliable comparison of floating point numbers |
Package source: | fpCompare_0.2.3.tar.gz |
Windows binaries: | r-devel: fpCompare_0.2.3.zip, r-release: fpCompare_0.2.3.zip, r-oldrel: fpCompare_0.2.3.zip |
macOS binaries: | r-release: fpCompare_0.2.3.tgz, r-oldrel: fpCompare_0.2.3.tgz |
Old sources: | fpCompare archive |
Reverse imports: | iemisc, quickPlot, reproducible, SpaDES.core, SpaDES.tools |
Please use the canonical form https://CRAN.R-project.org/package=fpCompare to link to this page.