fpCompare (Q71768)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

Reliable Comparison of Floating Point Numbers
Language Label Description Also known as
default for all languages
No label defined
    English
    fpCompare
    Reliable Comparison of Floating Point Numbers

      Statements

      0 references
      0.2.4
      15 August 2022
      0 references
      PACKAGES.rds
      9 July 2026
      0 references
      0.1.0
      3 April 2015
      0 references
      0.2.0
      16 May 2015
      0 references
      0.2.1
      1 September 2015
      0 references
      0.2.2
      12 June 2018
      0 references
      0.2.3
      10 September 2019
      0 references
      0.2.6
      26 May 2026
      0 references
      0 references
      0 references
      26 May 2026
      0 references
      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.
      0 references

      Identifiers

      0 references