Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@devnexen
Copy link
Contributor

No description provided.

@vapier
Copy link
Member

vapier commented Sep 24, 2025

this doesn't feel like an integer overflow, and the checks don't seem to make sense. the coordinates should not be negative (we might be missing a check for that), which means subtracting one positive int from another would never yield a value larger than INT_MAX or smaller than INT_MIN. I guess you're also making sure we don't divide by 0 ?

please include a test case showing the problem you're trying to fix.

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