Skip to content

v1.1.0-rc.0

Pre-release
Pre-release

Choose a tag to compare

@ericnordelo ericnordelo released this 10 Mar 12:48
· 20 commits to release-v1.1 since this release
8787180

Summary

openzeppelin_fp_math

Added

  • UD30x9 fixed-point type with: (#129)
    • Core: wrap, unwrap
    • Arithmetic: add, sub, mul, div, pow, unchecked_add, unchecked_sub, mod
    • Comparison: eq, neq, gt, gte, lt, lte, is_zero
    • Bitwise: and, and2, or, xor, not, lshift, rshift
  • SD29x9 fixed-point type with: (#129)
    • Constants: zero, min, max
    • Core: wrap, unwrap
    • Arithmetic: add, sub, mul, div, pow, unchecked_add, unchecked_sub, mod
    • Comparison: eq, neq, gt, gte, lt, lte, is_zero
    • Bitwise: and, and2, or, xor, not, lshift, rshift
  • casting_u128 helpers for UD30x9 and SD29x9. (#129)

openzeppelin_math

Added

  • is_power_of_ten helpers for u8, u16, u32, u64, u128, and u256. (#125)

Full Changes List

New Contributors

Full Changelog: v1.0.0...v1.1.0-rc.0