Decision Workspace
float_approx_math vs corvid_float vs const-gen
Side-by-side comparison of Rust crates
47
float_approx_math
growingv0.1.9
A math library for compile-time floating-point approximations (sqrt, sin, cos, etc...)
50
corvid_float
experimentalv0.1.2
Floating-point maths in const context: the f32 and f64 utilities the boundary to a device needs, every one of them const.
69
const-gen
stablev1.6.10
A crate for generating (relatively) complex compile-time constants in rust.
Core Metrics
| float_approx_math | corvid_float | const-gen | |
|---|---|---|---|
| Health Score | 47 | 50 | 69 |
| Total Downloads | 12.9K | 246 | 602.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 22 | 5 | 37 |
| Releases | 10 | 2 | 46 |
| Last Updated | 1007d ago | 55d ago | 12d ago |
| Age | 3y 2m | 1m | 5y 5m |
Health Breakdown
float_approx_math
Maintenance
6
Quality
16
Community
10
Popularity
5
Documentation
10
corvid_float
Maintenance
11
Quality
16
Community
8
Popularity
3
Documentation
12
const-gen
Maintenance
18
Quality
22
Community
10
Popularity
7
Documentation
12
Technical Details
| float_approx_math | corvid_float | const-gen | |
|---|---|---|---|
| Version | 0.1.9 | 0.1.2 | 1.6.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | GPL-2.0-or-later | MIT OR Apache-2.0 |
| Dependencies | 7 | 1 | 2 |
| Crate Size | 7KB | 19KB | 11KB |
| Features | 4 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 2.2% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | — | 1.97.1 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •const-gen leads with a health score of 69/100, but none of the options score above 80.
- •⚠ float_approx_math has not been updated in over a year.
- •float_approx_math, corvid_float are pre-1.0 — API may change.