Skip to content

Add support for all integer encodings - #1

Merged
bettio merged 6 commits into
atomvm:mainfrom
bettio:implement-all-int
May 10, 2026
Merged

Add support for all integer encodings#1
bettio merged 6 commits into
atomvm:mainfrom
bettio:implement-all-int

Conversation

@bettio

@bettio bettio commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Add missing integer encodings and their tests.

bettio added 6 commits May 7, 2026 14:24
int32 now works with the entire range, including negative numbers.

Signed-off-by: Davide Bettio <davide@uninstall.it>
Add full-range support for int64 encode/decode.

Signed-off-by: Davide Bettio <davide@uninstall.it>
Add full-range support for uint32 and uint64 encode/decode.

Signed-off-by: Davide Bettio <davide@uninstall.it>
Implement encoder/decoder and add tests.

Signed-off-by: Davide Bettio <davide@uninstall.it>
Add also tests for both sfixed32 and fixed32 encoder and decoder.

Signed-off-by: Davide Bettio <davide@uninstall.it>
Implement encoder/decoder for both sfixed64 and fixed64, and related
tests.

Signed-off-by: Davide Bettio <davide@uninstall.it>
@bettio
bettio merged commit ac8913f into atomvm:main May 10, 2026
2 checks passed
@bettio
bettio deleted the implement-all-int branch May 10, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant