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

fix exponent capping at long max value #7060

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Sep 8, 2024

Description

an optimization for long exponents was casting to a long, resulting in capped values. Good optimization for low numbers, bad for high numbers. Just removed it since it's extremely minor benefit anyway.


Target Minecraft Versions: any
Requirements: none
Related Issues: #7059

@sovdeeth sovdeeth added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. 2.9 Targeting a 2.9.X version release labels Sep 8, 2024
@UnderscoreTud UnderscoreTud merged commit f482600 into SkriptLang:dev/patch Sep 9, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.9 Targeting a 2.9.X version release bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants