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.">

fpCompare: Reliable Comparison of Floating Point Numbers (original) (raw)

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.

Version: 0.2.4
Depends: R (≥ 3.4)
Suggests: covr, knitr, rmarkdown, testthat
Published: 2022-08-15
DOI: 10.32614/CRAN.package.fpCompare
Author: Alex M Chubaty ORCID iD [aut, cre], Her Majesty the Queen in Right of Canada, as represented by the Minister of Natural Resources Canada [cph]
Maintainer: Alex M Chubaty
BugReports: https://github.com/PredictiveEcology/fpCompare/issues
License: GPL-3
URL: https://github.com/PredictiveEcology/fpCompare
NeedsCompilation: no
Language: en-CA
Materials: README, NEWS
CRAN checks: fpCompare results

Documentation:

Reference manual: fpCompare.html , <fpCompare.pdf>
Vignettes: fpCompare: reliable comparison of floating point numbers (source)

Downloads:

Package source: fpCompare_0.2.4.tar.gz
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 dependencies:

Reverse imports: bbssr, intrval, quickPlot, reproducible, SpaDES.tools
Reverse suggests: Require

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=fpCompareto link to this page.