Learn R Programming

⚠️There's a newer version (0.2.4) of this package.Take me there.

fpCompare (version 0.1.0)

Reliable Comparison of Floating Point Numbers

Description

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 four new relational operators useful for performing floating point number comparisons with a set tolerance.

Copy Link

Version

Install

install.packages('fpCompare')

Monthly Downloads

4,024

Version

0.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Alex M Chubaty

Last Published

April 3rd, 2015

Functions in fpCompare (0.1.0)

%>=%

Relational operators with tolerance