Decision Workspace
round_float vs float_next_after vs fmul-to-int
Side-by-side comparison of Rust crates
50
round_float
growingv1.2.2
Round `f64` and `f32` to specified number of decimals.
62
float_next_after
stablev2.0.0
A trait for native rust f64/f32 nextafter
48
fmul-to-int
growingv1.0.0
Float multiplication to integer part.
Core Metrics
| round_float | float_next_after | fmul-to-int | |
|---|---|---|---|
| Health Score | 50 | 62 | 48 |
| Total Downloads | 19.6K | 14.6M | 8.6K |
| 30d Downloads | 46 | 1.1M | 293 |
| Dependents | 0 | 197 | 0 |
| Releases | 16 | 8 | 1 |
| Last Updated | 578d ago | 41d ago | 781d ago |
| Age | 1y 11m | 5y 11m | 2y 1m |
Health Breakdown
round_float
Maintenance
7
Quality
17
Community
6
Popularity
5
Documentation
15
float_next_after
Maintenance
13
Quality
20
Community
12
Popularity
8
Documentation
9
fmul-to-int
Maintenance
1
Quality
23
Community
6
Popularity
5
Documentation
13
Technical Details
| round_float | float_next_after | fmul-to-int | |
|---|---|---|---|
| Version | 1.2.2 | 2.0.0 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT/Apache-2.0 |
| Dependencies | 2 | 3 | 0 |
| Crate Size | 6KB | 14KB | 7KB |
| Features | 1 | 0 | 2 |
| Yanked % | 6.3% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | 1.75.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •float_next_after leads with a health score of 62/100, but none of the options score above 80.
- •float_next_after is depended on by 197 crates — strongest ecosystem trust.
- •⚠ round_float, fmul-to-int have not been updated in over a year.