Skip to content

v0.6.0

Choose a tag to compare

@isaacholt100 isaacholt100 released this 07 Mar 14:08
· 160 commits to master since this release
cb9df63

There were no breaking changes in this release. The biggest update is the introduction of the const parse_str_radix method on signed and unsigned integers, which allows compile-time parsing of string literals in a given radix. from_str_radix is now also const, which allows compile-time parsing of string literals which are not guaranteed to parse successfully.

The following methods are now const on stable:

  • {BUint, BInt}::parse_bytes
  • BInt::overflowing_mul
  • BInt::overflowing_neg
  • BInt::overflowing_abs
  • BInt::overflowing_pow
  • BInt::wrapping_neg
  • BInt::wrapping_abs
  • BInt::checked_mul
  • BInt::checked_neg
  • BInt::checked_abs
  • BInt::checked_pow
  • BInt::saturating_mul
  • BInt::saturating_neg
  • BInt::saturating_abs
  • BInt::saturating_pow
  • BInt::unsigned_abs
  • BInt::pow
  • BInt::abs
  • BInt::abs_diff

Additionally, the following methods are now const when the nightly feature is enabled:

  • {BUint, BInt}::from_radix_be
  • {BUint, BInt}::from_radix_le

What's Changed

Full Changelog: v0.5.0...v0.6.0