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' 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.

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

Documentation


Team


Insights

Last 30 days

This package has been downloaded 3,359 times in the last 30 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 176 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
0 downloadsFeb 11, 2025
0 downloadsFeb 12, 2025
147 downloadsFeb 13, 2025
136 downloadsFeb 14, 2025
118 downloadsFeb 15, 2025
30 downloadsFeb 16, 2025
82 downloadsFeb 17, 2025
106 downloadsFeb 18, 2025
133 downloadsFeb 19, 2025
146 downloadsFeb 20, 2025
97 downloadsFeb 21, 2025
25 downloadsFeb 22, 2025
115 downloadsFeb 23, 2025
71 downloadsFeb 24, 2025
75 downloadsFeb 25, 2025
36 downloadsFeb 26, 2025
115 downloadsFeb 27, 2025
157 downloadsFeb 28, 2025
170 downloadsMar 1, 2025
35 downloadsMar 2, 2025
118 downloadsMar 3, 2025
208 downloadsMar 4, 2025
160 downloadsMar 5, 2025
26 downloadsMar 6, 2025
134 downloadsMar 7, 2025
51 downloadsMar 8, 2025
27 downloadsMar 9, 2025
77 downloadsMar 10, 2025
116 downloadsMar 11, 2025
332 downloadsMar 12, 2025
140 downloadsMar 13, 2025
176 downloadsMar 14, 2025
0 downloadsMar 15, 2025
25
332

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

Last 365 days

This package has been downloaded 35,963 times in the last 365 days. That's enough downloads to make it mildly famous in niche technical communities. A badge of honor! The day with the most downloads was Jul 26, 2024 with 1,154 downloads.

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

  • Suggests4 packages
  • Reverse Imports3 packages
  • Reverse Suggests2 packages