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

Remove float vector range checks from scriptapi #12418

Merged
merged 3 commits into from
Jul 14, 2022
Merged

Conversation

sfan5
Copy link
Collaborator

@sfan5 sfan5 commented Jun 8, 2022

fixes #11742 (fully)

this should not be backported since it's (marginally) higher risk than the existing fix

To do

This PR is Ready for Review.

How to test

same steps as #12396, still nothing should be happening

@sfan5 sfan5 added Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements Bugfix 🐛 PRs that fix a bug labels Jun 8, 2022
@SmallJoker
Copy link
Member

The idea is good, but how would modders notice near-zero divisor errors in their code? At the very least, nan, inf and -inf should be disallowed/warned somehow.

@sfan5 sfan5 added the Action / change needed Code still needs changes (PR) / more information requested (Issues) label Jun 11, 2022
@sfan5 sfan5 removed the Action / change needed Code still needs changes (PR) / more information requested (Issues) label Jul 3, 2022
Copy link
Member

@SmallJoker SmallJoker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works, looks good.

@sfan5 sfan5 merged commit 1d512ef into luanti-org:master Jul 14, 2022
@sfan5 sfan5 deleted the posfix2 branch July 14, 2022 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix 🐛 PRs that fix a bug Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements One approval ✅ ◻️
Projects
None yet
2 participants