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

Add double implementation for Felt #44

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Conversation

tcoratger
Copy link
Contributor

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

  • Feature

What is the current behavior?

Add double implementation for Felt

What is the new behavior?

  • This pull request introduces a utility method double for the Felt type. The double method allows for more convenient and concise code when needing to double a Felt value. Previously, one would have to write x + x to achieve the same result, which can be verbose and less readable. With the addition of double, users can now simply call x.double() to achieve the same outcome.

Does this introduce a breaking change?

No

Other information

@0xLucqs 0xLucqs merged commit 4a7656e into starknet-io:main Mar 12, 2024
2 checks 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