v1.1.0-rc.0
Pre-release
Pre-release
·
20 commits
to release-v1.1
since this release
Summary
openzeppelin_fp_math
Added
UD30x9fixed-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
- Core:
SD29x9fixed-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
- Constants:
casting_u128helpers forUD30x9andSD29x9. (#129)
openzeppelin_math
Added
is_power_of_tenhelpers foru8,u16,u32,u64,u128, andu256. (#125)
Full Changes List
- Backport v1.0.0.rc.1 changes by @ericnordelo in #128
- feat: add
is_power_of_tenfunction and tests by @Rajesh-Royal in #125 - docs: add CHANGELOGs by @ericnordelo in #127
- Add
ud30x9,sd29x9, and base functions by @ericnordelo in #129 - Update CHANGELOG and READMEs by @ericnordelo in #130
- ref: improve casting usage example by @ericnordelo in #131
- feat: implement
abs,ceil,divby @immrsd in #132 - feat: add quick_sort and quick_sort_by implementations by @qalisander in #133
- chore: update CODEOWNERS by @bidzyyys in #152
- feat: implement
negateby @immrsd in #160 - fix: tabWidth issue in Prettier Move + gitignore .vscode by @0xNeshi in #170
- Fixed-point:
mul,div,powby @immrsd in #199 - fix: inconsistent shift behavior in fixed-point math library by @bidzyyys in #201
- fix: unchecked_sub(x, zero) in SD29x9 aborts unexpectedly by @bidzyyys in #200
- docs: improve fixed-point docs by @immrsd in #202
- Fix: SD29x9 overflow behaviour by @immrsd in #203
- Fix: implement cross-type casting by @immrsd in #204
- Backport release v1.0.0 to main by @ericnordelo in #211
- docs: unify code docs for fixed-point math lib by @bidzyyys in #213
- Backport v1.0.0 delayed fix by @ericnordelo in #247
- ref: tests for fixed-point package by @immrsd in #248
- (v1.1.0-rc.0) Update CHANGELOG by @ericnordelo in #249
New Contributors
- @Rajesh-Royal made their first contribution in #125
- @qalisander made their first contribution in #133
Full Changelog: v1.0.0...v1.1.0-rc.0