Commit Graph

95 Commits

Author SHA1 Message Date
Julien Robert
cbdfd9bdfa
chore: bump golangci-lint and fix all linting issues (#21761) 2024-09-16 19:11:19 +00:00
riyueguang
9f5ee3a083
chore: fix some comments (#21085)
Signed-off-by: riyueguang <rustruby@outlook.com>
2024-07-26 11:00:15 +00:00
Tuan Tran
b5319483ed
chore(docs): fix comments that do not start with the name of the exported element. (#20906) 2024-07-10 06:00:36 +00:00
Dev Ojha
90cbb022d5
perf(math): Significantly speedup Dec quo truncate and quo Roundup (#20034)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
2024-05-30 10:44:14 +00:00
Marko
c7dc9156c3
chore: force reload sonar cloud (#20480) 2024-05-29 11:12:09 +00:00
Marko
18a203b783
ci: fix sonar exclusion files (#20467) 2024-05-28 13:10:38 +00:00
Hoa Nguyen
22aa95ccbd
chore: make fmt.Errorf use %w to wrap error instead of %v (#20350) 2024-05-12 08:11:25 +00:00
dependabot[bot]
7f84815716
build(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#19628)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marbar3778@yahoo.com>
2024-03-04 10:28:51 +00:00
Qt
febb7b7ece
docs(math): update math docs (#19615) 2024-03-01 12:36:00 +00:00
Qt
35c4243da9
docs(math): update math docs (#19590) 2024-02-28 15:48:57 +00:00
Qt
aa9ff3d8a7
refactor: use errors.New to replace fmt.Errorf with no parameters (#19548) 2024-02-24 21:14:13 +00:00
Julien Robert
25b14c3caa
chore: prepare math v1.3.0 (#19527) 2024-02-23 07:36:35 +00:00
Dev Ojha
72eae6dc50
perf(math): Use Dec Bigintmut API (#19479) 2024-02-19 16:45:59 +00:00
Dev Ojha
4db9838ae6
perf: Remove an extra heap allocation from NewLegacyDec (#19466)
Co-authored-by: Marko <marbar3778@yahoo.com>
2024-02-19 09:15:57 +00:00
Dev Ojha
0f113520f9
perf: Remove unneeded cmp in Ceil and marshalTo (#19467) 2024-02-19 08:21:47 +00:00
Facundo Medica
c57dde2f34
feat!: migrate x/group to store service (#19410) 2024-02-13 13:51:26 +00:00
Dev Ojha
ac48269f98
perf: Speedup sdk.Int overflow checks (#19386) 2024-02-09 08:51:11 +00:00
alpharush
a383208a07
docs: documenting some panicking APIs (#19115) 2024-01-19 09:16:56 +00:00
Dev Ojha
0c6b6d49cb
perf: Remove duplicate overflow check from int.Mul (#18874) 2023-12-26 12:04:10 +00:00
Cosmos SDK
8f0d5b15f0
chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-12-11 13:03:19 +00:00
Julien Robert
519c55cd53
refactor(confix): properly update migrate and diff command (#18596) 2023-11-30 09:59:23 +00:00
ocnc
7d5e9f1c23
feat(math): add safe arithmetic (#18552) 2023-11-28 07:54:04 +00:00
Marko
bed952022b
fix(math): preventative ciel call (#18519) 2023-11-20 10:28:15 +00:00
Đông Liều
393eaef817
feat(math): add mutative api for LegacyDec.BigInt() (#18421) 2023-11-12 09:04:37 +00:00
dependabot[bot]
1e4d1f955a
build(deps): Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 in /x/auth (#18397)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-11-07 14:49:12 +00:00
Julien Robert
7e002550cc
chore: prepare math changelog (#18384) 2023-11-07 09:06:29 +00:00
Hieu Vu
e7e1c36222
feat(math): Add mutative api for NewIntFromBigInt (#18030) 2023-11-07 08:36:39 +00:00
Đông Liều
a6eea3c5ea
feat(math): add mutative api for Uint.BigInt() (#18247) 2023-11-07 08:35:17 +00:00
Đông Liều
ff3ec25873
fix(math): fix panic on Uint.BigInt() (#18228) 2023-10-24 20:29:23 +00:00
Facundo Medica
bbf2faa699
fix(math): NewUintFromBigInt argument mutation (#18214) 2023-10-23 14:12:52 +00:00
Facundo Medica
442c3c5e4b
fix: RelativePow now returns 1 when 0^0 (#18211) 2023-10-23 13:21:13 +00:00
Marko
54701b7a54
chore: fix comments (#18043) 2023-10-11 09:22:45 +00:00
Hieu Vu
150013ee50
feat(math): add mutative api for Int.BigInt() (#17803) 2023-09-25 12:12:23 +00:00
Roman
267cd15b07
fix(math): revert to correct version of ApproxRoot from a former state breaking change (#17725) 2023-09-18 13:55:51 +00:00
Elias Naur
2f098de32f
chore: add failing test for math.Int.Size (#17747)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-14 20:51:42 +00:00
Roman
f304ebfc8f
fix(math): Revert "perf: optimize math.Int.Size for small values (#17497)" (#17736) 2023-09-14 16:55:58 +00:00
Elias Naur
952328a4ed
perf: optimize math.Int.Size for small values (#17497) 2023-08-22 21:54:34 +00:00
Julien Robert
bf249162e4
fix(math): revert #16263 and add test cases (#17489) 2023-08-21 14:07:40 +00:00
Julien Robert
1089f715fc
fix(math): fix panic in .Size() (#17480) 2023-08-21 09:20:30 +00:00
Roman
0288d423b9
feat: LegacyDec MulRoundUp (#17427)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-08-18 09:58:20 +00:00
Aleksandr Bezobchuk
658a88a309
fix(math): defend NewIntFromBigInt argument mutation (#17352) 2023-08-10 20:10:38 +00:00
Julien Robert
5442197d6b
chore: cherry-pick some inj changes (#17109) 2023-07-24 13:07:06 +00:00
Jacob Gadikian
f0aec3f30d
style: use thelper (#16777) 2023-07-03 13:33:05 +00:00
Julien Robert
8c72f66396
refactor!: remove types/math aliases (#16798) 2023-06-30 17:09:03 +00:00
Jacob Gadikian
8d4ff7a19a
style: bump golangci-lint (#16667) 2023-06-23 12:49:34 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Julien Robert
bf8053cdfc
chore: fix concurrency group sims and math changelog (#16462) 2023-06-08 20:04:22 +00:00
Emmanuel T Odeke
9b9e319d1a
perf: math: make Int.Size() faster by computation not len(MarshalledBytes) (#16263)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-06-08 15:15:52 +00:00
dependabot[bot]
cac7e89e1d
build(deps): Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#16354)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-31 06:58:33 +00:00
Roman
a2e3711ce0
fix: legacy dec power mut zero exponent precision (#16266) 2023-05-24 00:05:59 +00:00