3 releases
0.1.2 | Jan 2, 2025 |
---|---|
0.1.1 | Jan 2, 2025 |
0.1.0 | Jan 2, 2025 |
#460 in Math
350 downloads per month
16KB
238 lines
unifrac
A crate for working with normalized fractional values.
It provides several fractional types for Rust:
Primant
— a type representing a fraction between 0 and 1 (inclusive).Phase
— a type representing a fraction between 0 and 1 (exclusive).
It does not depend on the standard library, so it can be used in no_std
contexts.
For more information, see the crate documentation.
Dependencies
~150KB