- Add trait
Inverse
. - Implement
AbsCmp
andAbsEq
for primitive types.
- Add trait
AbsCmp
andAbsEq
- Add trait
FloatEncoding
and implement it forf32
andf64
- Add trait
Signed
and implement it for all signed primitive types - Add conversion between
Sign
andbool
- Implement
Abs
forf32
andf64
- Add types
error::{ConversionError, ParseError}
(originates fromdashu-int
) - Add trait
SquareRoot
,SquareRootRem
,CubicRoot
,CubicRootRem
- Implement
EstimatedLog2
forf32
,f64
and signed integers
trailing_zeros
has been removed from theBitTest
trait- The definition of
BitTest::bit_len
has changed, andBitTest
is now implemented for signed integers.
Root
andRootRem
are removed (useSquareRoot
,SquareRootRem
, etc. instead)
- Implement
RootRem
foru8
,u16
,u32
- Add trait
Root
and implement it foru8
,u16
,u32
,u64
,u128
- Add traits
Approximation
,Sign
andEstimatedLog2
.
- Fix the bug of the GCD algorithm.
- including several common trait definitions.