CRAN/E | fpCompare

fpCompare

Reliable Comparison of Floating Point Numbers

Installation

About

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.

github.com/PredictiveEcology/fpCompare
Bug report File report

Key Metrics

Version 0.2.4
R ≥ 3.4
Published 2022-08-15 614 days ago
Needs compilation? no
License GPL-3
CRAN checks fpCompare results
Language en-CA

Downloads

Yesterday 95
Last 7 days 358 -45%
Last 30 days 2.041 +47%
Last 90 days 5.722 +9%
Last 365 days 25.010 -33%

Maintainer

Maintainer

Alex M Chubaty

achubaty@for-cast.ca

Authors

Alex M Chubaty

aut / cre

Her Majesty the Queen in Right of Canada
as represented by the Minister of Natural Resources Canada

cph

Material

README
NEWS
Reference manual
Package source

Vignettes

fpCompare: reliable comparison of floating point numbers

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

fpCompare archive

Depends

R ≥ 3.4

Suggests

covr
knitr
rmarkdown
testthat

Reverse Imports

iemisc
quickPlot
reproducible
SpaDES.tools