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

Detect overflow #5

Merged
merged 2 commits into from
Oct 20, 2024
Merged

Detect overflow #5

merged 2 commits into from
Oct 20, 2024

Conversation

cpmachado
Copy link
Owner

Created mechanism to detect overflow, and added a normalisation technique of the ratio to improve results.

Example:

  • 999/1000 wasn't possible before without overflow.
  • .999 / 100000 still overflows

@cpmachado cpmachado self-assigned this Oct 20, 2024
@cpmachado cpmachado mentioned this pull request Oct 20, 2024
4 tasks
@cpmachado cpmachado merged commit 7debbd6 into master Oct 20, 2024
3 checks passed
@cpmachado cpmachado deleted the feature/detect-overflow branch October 20, 2024 23:50
@cpmachado cpmachado mentioned this pull request Oct 20, 2024
1 task
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.

1 participant