dec 0.4.6
0.4.6 - 2022-01-14
-
Add functions to take
Decimal
values to and from packed binary-coded
decimals using the
decPacked module. -
Add
round_to_place
andreduce_to_place
toDecimal<N>
, which provide
"places from the left" rounding, akin to a shift right, round, and shift
left.reduce_to_place
performs the operation, as expected, and
simultaneously performs areduce
. -
Refactor
to_raw_parts
andto_raw_parts
to use&[u16]
to represent a
Decimal
'slsu
, largely reverting the change from
0.4.2.The reversion addresses an oversight that would corrupt values if the LSU's
data was moved between machines with different endianness.