Skip to content

Comments

Fix 64-bit unsigned integer binary pattern matching#2136

Open
bettio wants to merge 1 commit intoatomvm:mainfrom
bettio:fix-u64-binary-pattern-matching
Open

Fix 64-bit unsigned integer binary pattern matching#2136
bettio wants to merge 1 commit intoatomvm:mainfrom
bettio:fix-u64-binary-pattern-matching

Conversation

@bettio
Copy link
Collaborator

@bettio bettio commented Feb 23, 2026

64-bit unsigned integers were incorrectly handled as signed integers, leading to unexpected negative values.

Add required code to handle them as big integers.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

64-bit unsigned integers were incorrectly handled as signed integers,
leading to unexpected negative values.

Add required code to handle them as big integers.

Signed-off-by: Davide Bettio <davide@uninstall.it>
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.

2 participants