CMD + K

r-fpcompare

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install r_test::r-fpcompare

Usage Tracking

0.2.3
1 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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.

Last Updated

Sep 13, 2019 at 19:14

License

GPL-3

Total Downloads

0

Version Downloads

0

Supported Platforms

noarch