Skip to content

Releases: kaidokert/fixed-bigint-rs

v0.1.11

06 Oct 02:37
Compare
Choose a tag to compare

What's Changed

  • Implement decimal string conversions, cleanup by @kaidokert in #40
  • Add u64 word sizes
  • Remove clunky to_ne_bytes implementation
  • Add to_radix_str
  • Fix to_radix_str to support any radix from 2 to 16

Full Changelog: v0.1.10...v0.1.11

v0.1.10

29 Sep 01:03
Compare
Choose a tag to compare

What's Changed

  • Adds ToBytes implementation, optional zeroize support by @kaidokert in #37
  • Implement FromBytes by @kaidokert in #39
  • To/FromBytes implementations currently use unsafe, due to limited const generics ( needs generic_const_exprs )

Full Changelog: v0.1.9...v0.1.10

v0.1.8

07 Dec 06:28
Compare
Choose a tag to compare
  • Implemented PrimInt::pow()
  • Implemented PrimInt::from_le(), from_be, to_le, to_be
  • Implemented PrimInt::swap_bytes()
  • Improved test coverage

v0.1.7

12 Oct 15:52
ad78235
Compare
Choose a tag to compare

Re-exported missing num_integer crate

v0.1.6

12 Oct 03:45
8a1389e
Compare
Choose a tag to compare

Added num-integer::Integer implementation

Fixed newly issued Clippy warnings

v0.1.5

17 Apr 21:38
Compare
Choose a tag to compare

Add coverage tracking.
Implement rotate_left / rotate_right bit ops

v0.1.4

13 Apr 06:21
037ff0b
Compare
Choose a tag to compare

Impement shift operator variants and shift-assign, also BitAndAssign, BitOrAssign, BitXorAssign.

Both mul and div now make a lot less copies of data.

Small optimization for multiply, eliminating overflow checking round when not needed.

v0.1.3

12 Apr 01:01
e664fa8
Compare
Choose a tag to compare

Implement AddAssign, MulAssign, DivAssign, and all arithmetic operands that take a reference, rather than value.

Also add num_traits::Unsigned trait tag, plus all of num_traits::{NumAssign, NumRef, NumAssignRef} as those are all now fully implemented.

More testing and making panic! behaviour more consistent.

v0.1.2

10 Apr 22:16
5fd7d18
Compare
Choose a tag to compare

Adds missing overflowing multiply operands and wrapping/saturating/checked as well. Missing checked_div added too.

v0.1.1

08 Apr 03:41
46eeb8a
Compare
Choose a tag to compare

Minor bugfix and cleanup