Decision Workspace
xsum vs compensated-summation vs fsum
Side-by-side comparison of Rust crates
56
xsum
growingv0.1.6
Fast Exact Summation of Floating-Point Numbers
37
compensated-summation
growingv0.3.1
Compensated summation algorithms for better precision.
59
fsum
growingv0.1.4
The library to calculate accurate sum of floats.
Core Metrics
| xsum | compensated-summation | fsum | |
|---|---|---|---|
| Health Score | 56 | 37 | 59 |
| Total Downloads | 3.3M | 12.3K | 318.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 37 | 7 | 34 |
| Releases | 7 | 4 | 5 |
| Last Updated | 354d ago | 528d ago | 53d ago |
| Age | 1y 4m | 2y 4m | 4y 7m |
Health Breakdown
xsum
Maintenance
8
Quality
15
Community
10
Popularity
8
Documentation
15
compensated-summation
Maintenance
5
Quality
9
Community
8
Popularity
5
Documentation
10
fsum
Maintenance
13
Quality
16
Community
10
Popularity
7
Documentation
13
Technical Details
| xsum | compensated-summation | fsum | |
|---|---|---|---|
| Version | 0.1.6 | 0.3.1 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 0 |
| Crate Size | 21KB | 13KB | 4KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 50.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.69 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fsum leads with a health score of 59/100, but none of the options score above 80.
- •xsum has the most downloads (3.3M), suggesting wider adoption.
- •⚠ compensated-summation has not been updated in over a year.