fpCompare

Reliable Comparison of Floating Point Numbers

CRAN Package

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' ). This package provides new relational operators useful for performing floating point number comparisons with a set tolerance.

  • Version0.2.4
  • R version≥ 3.4
  • LicenseGPL-3
  • Needs compilation?No
  • Languageen-CA
  • Last release08/15/2022

Documentation


Team


Insights

Last 30 days

Last 365 days

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Suggests4 packages
  • Reverse Imports3 packages
  • Reverse Suggests2 packages