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

Implemented euclidian modulo #11

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Conversation

sotolf2
Copy link

@sotolf2 sotolf2 commented Jan 11, 2024

Euclidian modulo is the modulo that most often is used in maths, will always give a positive result rather than the negative numbers that % does return at time, for some algorithms this is a more useful way to use modulo operations.

@NicklasXYZ
Copy link
Member

Sorry, I had a bunch of other tasks to take care of, so it took me a while to get to this.
The implementation and description looks good to me. Thank you for the PR 👍

@NicklasXYZ NicklasXYZ merged commit 0c01501 into gleam-community:main Jan 23, 2024
1 check passed
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