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' <https://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.
|Depends:||R (≥ 3.4)|
|Suggests:||covr, knitr, rmarkdown, testthat|
|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 <achubaty at for-cast.ca>|
|CRAN checks:||fpCompare results|
fpCompare: reliable comparison of floating point numbers
|Windows binaries:||r-devel: fpCompare_0.2.4.zip, r-release: fpCompare_0.2.4.zip, r-oldrel: fpCompare_0.2.4.zip|
|macOS binaries:||r-release (arm64): fpCompare_0.2.4.tgz, r-oldrel (arm64): fpCompare_0.2.4.tgz, r-release (x86_64): fpCompare_0.2.4.tgz, r-oldrel (x86_64): fpCompare_0.2.4.tgz|
|Old sources:||fpCompare archive|
|Reverse imports:||iemisc, quickPlot|
Please use the canonical form https://CRAN.R-project.org/package=fpCompare to link to this page.