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

ADD 1 stuck at 0x7FFF #204

Open
lanc12 opened this issue Apr 23, 2024 · 1 comment
Open

ADD 1 stuck at 0x7FFF #204

lanc12 opened this issue Apr 23, 2024 · 1 comment

Comments

@lanc12
Copy link

lanc12 commented Apr 23, 2024

ADD 1 can usually be used to well... add 1, but once you reach 0x7FFF, ADD 1 no longer works and just gets stuck.

This is a problem for programs that use and manipulate large numbers. Why this occurs? No idea, sorry.

Version: tis3d-MC1.20.1-forge-1.7.7+354a583.jar
Loader: NeoForge 1.20.1 47.1.104

Look, I know it's unsupported in this version, but usually Forge mods work fine under NeoForge.

@KarolOfGutovo
Copy link

This isn't an issue, 0x7FFF corresponds to the highest value and 0x8000 is the lowest negative value. The behavior of not overflowing is questionable, but it is what it is.

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

No branches or pull requests

2 participants