Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug, converting hex to int #1401

Open
larshp opened this issue Mar 3, 2024 · 1 comment
Open

bug, converting hex to int #1401

larshp opened this issue Mar 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@larshp
Copy link
Member

larshp commented Mar 3, 2024

first bit is the sign,

fixed

@larshp larshp added the bug Something isn't working label Mar 3, 2024
@larshp
Copy link
Member Author

larshp commented Mar 3, 2024

another testcase,

fixed

DATA lv_hex TYPE x LENGTH 5 VALUE '00FFFFFFFF'.
DATA lv_int TYPE i.
lv_int = lv_hex+1.
ASSERT lv_int = -1.

@larshp larshp changed the title bug, converting hex to int 2.8.2: bug, converting hex to int Mar 3, 2024
@larshp larshp changed the title 2.8.2: bug, converting hex to int bug, converting hex to int Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant