1003 B
1003 B
Version 0.1.1 (unreleased)
- Comparisons are now supported between all fixed-point numbers with the same underlying integer type.
- New static methods
int_bits
andfrac_bits
were added. - New methods
from_int
,to_int
,to_int_ceil
,to_int_floor
andto_int_round
. - New methods
int
andfrac
were added. - Support for multiplication and division by integers was added.
Version 0.1.0 (2018-08-10)
Unsigned
constants provided by the typenum crate are now used for the number of fractional bits.- Many methods and trait implementations available for primitive integers are now also supported by the fixed-point numbers.