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

Use const fn #2

Closed
wants to merge 3 commits into from
Closed

Use const fn #2

wants to merge 3 commits into from

Conversation

lrazovic
Copy link
Contributor

This little PR aims to:

  • Make u128_mulhi a const function.
  • Move a common line of code before the if.
  • Use the exclude field in cargo.toml to decrease the crate size.

@Kogia-sima
Copy link
Owner

Kogia-sima commented Dec 26, 2021

Is there any reason for making a private method const function?

@Kogia-sima
Copy link
Owner

Closing as stale. Please reopen if you'd like to work on this further.

@Kogia-sima Kogia-sima closed this Feb 20, 2022
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